[jQuery] Re: Jquery simple problem

2009-04-01 Thread Nabeel Faruqui
remember that on this page we are using the ATLAS control also. I think AJAX Atlas might be creating the issue. any resolutions ? On Apr 1, 4:03 pm, Nabeel Faruqui wrote: > Hi, > This is my simple jquery code. I have included it in the head of html > document. > > >         jQuery(function() {

[jQuery] Re: Append asterisk to required field labels

2009-04-01 Thread JT
Example using CSS. YOUR HTML First Name YOUR CSS label.required:after { content: ' *'; } RESULT: First Name * OR label.required:before { content: '* '; } RESULT: * First Name

[jQuery] just in Firefox 3.0.8 $ is not defined

2009-04-01 Thread Asinox
Hi, i dont know what happen but just in FF, Jquery show error error: $ is not defined my code: $(document).ready(function(){ $('#demoOne').listnav(); }); yes, i have the url to the jquery and the plugin in nice place, but idont know why just Firefox

[jQuery] Re: Append asterisk to required field labels

2009-04-01 Thread RobG
On Apr 1, 10:56 am, Baum wrote: > Hi, > > I am looking to use jQuery in conjunction with xVal for validation. > One of the cool things I though jQuery would allow me to do is append > an asterisk (*) to the label of "ALL" my fields that have a css class > of "required". The example below only a

[jQuery] jQuery live to have the original livequery plugin function: on element add binding?

2009-04-01 Thread goodwill
I wonder if jQuery core live function could have such functionality? Now I am mixing both together, but there are some weird issues could occur- like if I am trying to encapsulate a livequery to trigger when a new div is added and setup live hook within, multiple hooks might occur (i.e. the event

[jQuery] Re: Ajax Errors with Firefox 3.0.8 (latest release)

2009-04-01 Thread tallvanilla
Thanks James. It would probably take an hour or more to reproduce a demo of the errors in a publicly-accessible space, so I'm hoping this is a known issue by now and that anyone who's also experienced it can shed some light on it. I had already checked the Mozilla security updates page. I don't

[jQuery] Re: DOM manipulation

2009-04-01 Thread Mauricio (Maujor) Samy Silva
$('.wrapper').height = '1000px'; and that will not work, because we don't have $('.wrapper') in working what should I do, to accomplish the desirable result? $('.wrapper').css('height', '1000px'); Maurício

[jQuery] Re: DOM manipulation

2009-04-01 Thread James
Try: $('.wrapper').height(1000); On Apr 1, 2:49 pm, gryzzly wrote: > Hello. > Let's say I have > $(document).ready(function() { >     $('.niceImage, .hiddenText').wrapAll(' div>');}); > > then I want to access newly inserted to the DOM div with class wrapper > and do something with it; > $(docum

[jQuery] DOM manipulation

2009-04-01 Thread gryzzly
Hello. Let's say I have $(document).ready(function() { $('.niceImage, .hiddenText').wrapAll(''); }); then I want to access newly inserted to the DOM div with class wrapper and do something with it; $(document).ready(function() { $('.niceImage, .hiddenText').wrapAll(''); $('.wrapper').h

[jQuery] Re: will two JQuery libs conflicts?

2009-04-01 Thread brian
On Wed, Apr 1, 2009 at 8:03 PM, RobG wrote: > > > > On Apr 2, 1:51 am, brian wrote: >> On Wed, Apr 1, 2009 at 11:01 AM, Xu wrote: >> >> > Thanks. Can you elaborate it? >> > You seem to suggest if my web page includes their actual JQuery file, >> > there will be for sure problems.  Why is that?

[jQuery] Re: Ajax Errors with Firefox 3.0.8 (latest release)

2009-04-01 Thread James
I have not experienced such issues using FF3.0.8 and the latest version of jQuery (1.3.2). Which version of jQuery are you using? If possible, are you able to provide some code or samples of the content being transferred that's not working? Here's the Security Updates page for FF3.0.8: http://www

[jQuery] Re: will two JQuery libs conflicts?

2009-04-01 Thread RobG
On Apr 2, 1:51 am, brian wrote: > On Wed, Apr 1, 2009 at 11:01 AM, Xu wrote: > > > Thanks. Can you elaborate it? > > You seem to suggest if my web page includes their actual JQuery file, > > there will be for sure problems.  Why is that? Thanks. > > Because you'll be redeclaring the methods. I

[jQuery] Re: jQuery/ HTML help needed

2009-04-01 Thread Warfang
Woah, thanks! It worked! I was bent on the idea that selectors had to have quotation marks. I suppose (in this case at least) thats untrue. Thank you. On Mar 31, 11:14 pm, Ricardo wrote: > Actually this is the perfect opportunity to put those href's into use: > > >         slide 1 >         sli

[jQuery] Ajax Errors with Firefox 3.0.8 (latest release)

2009-04-01 Thread tallvanilla
Many of our websites users began reporting AJAX errors on all jQuery- enabled pages of our website. The common factor among these users is that all are using the latest update to Firefox: version 3.0.8. From what I've gathered, it might only affect "get" requests, but I can't be sure of that yet.

[jQuery] Re: Append asterisk to required field labels

2009-04-01 Thread James
I'm not sure what the asp.net MVC release of jquery is and if it's been modified from the original, but on my 1.3.2 (from jquery.com), the code works. So there is no problem with jQuery 1.3.2 regarding each (). There must be something else that's causing the issue. Do you still have somewhere in y

[jQuery] Re: Getting all children, not just immediate children??

2009-04-01 Thread mkmanning
Can you provide the relevant markup? On Apr 1, 2:21 pm, Brian Gallagher wrote: > Don't know how the space got there, but not in my original. > I just quickly tried $(this).find("div.toggletarget").slideToggle(); but it > didn't work as I suspected. > > As you can see in my snippit post I left th

[jQuery] Re: JQuery/PHP debugging technique - any suggestions on how to do this?

2009-04-01 Thread LinkGuru
Thanks. I've installed the add-on. I'll give it a whirl. On Apr 1, 8:00 pm, Hector Virgen wrote: > You should try using Firebug. You can print directly to the Firebug console > from within PHP, or you can just echo "some message" and look at the > response tab of the firebug console. > -Hector >

[jQuery] Re: Good Server-Side tabs to compliment jQuery tabs

2009-04-01 Thread Klaus Hartl
You can just use the CSS used by jQuery UI by adding the necessary classes to the HTML right away. Here's an example of the static HTML: http://jquery-ui.googlecode.com/svn/trunk/tests/static/tabs/tabs.html You can easily create themes with Themeroller: http://jqueryui.com/themeroller/ --Klaus

[jQuery] Re: Getting all children, not just immediate children??

2009-04-01 Thread Brian Gallagher
Don't know how the space got there, but not in my original. I just quickly tried $(this).find("div.toggletarget").slideToggle(); but it didn't work as I suspected. As you can see in my snippit post I left the commented line in : $(this).parent('div.togglecontainer').find('div.toggletarget').slideT

[jQuery] Re: jQuery.noConflict() and firefox 2: errors - is this a bug?

2009-04-01 Thread Ricardo
Yes you do need it, unless you're doing all your javascript before the body is loaded. As the docs say, you need to call noConflict before loading other libraries, so your code would look like this: http://www.w3.org/1999/xhtml";> Unbenanntes Dokument jQuery.noConflict();

[jQuery] Re: Animating absolute positions with percentage values?

2009-04-01 Thread Mike
For clarification, These css IDs are positioned absolutely within a holder div that has a 100% width and is set to overflow:hidden. On Apr 1, 3:51 pm, Mike wrote: > Hi, > > I am trying to animate some cloud sprites so that they float across > the screen.  I have it working in all modern browser

[jQuery] Animating absolute positions with percentage values?

2009-04-01 Thread Mike
Hi, I am trying to animate some cloud sprites so that they float across the screen. I have it working in all modern browsers (sorry, ie8 you are seeming to be way too buggy & way to big of a step backwards to count as modern), but IE (including IE8) is giving me some headaches (what else is new.

[jQuery] Re: Getting all children, not just immediate children??

2009-04-01 Thread mkmanning
siblings() returns..siblings. Brothers/sisters, which aren't descendants. To get immediate children (sons/daughters), use children() To get descendants (sons/daughters, grandchildren, great- grandchildren, etc.) then use find() btw, do you mean to have a space here: .slideToggl e(); ? On Apr 1,

[jQuery] Re: Beginner Question

2009-04-01 Thread Flavouski
That sort of helped, unfortunately I'll have multiple inputs that have the same name. And with that code I wouldn't be able to say i have this DOM object, get me the firstname. But, it was good to get to know some more of the syntax. Ends up the better solution, at least for my case, is just no

[jQuery] Re: [validate] How can I force element validation if the value is unchanged?

2009-04-01 Thread pbindagorge
That worked! Thank you so much for your quick replies and for all your hard work on this superb plugin! On Apr 1, 12:08 pm, Jörn Zaefferer wrote: > Try this: > > $phoneNumber.data("previousValue", null).valid() > > Jörn > > On Wed, Apr 1, 2009 at 8:04 PM, pbindagorge wrote: > > > I have really

[jQuery] Re: [validate] How can I force element validation if the value is unchanged?

2009-04-01 Thread Jörn Zaefferer
Try this: $phoneNumber.data("previousValue", null).valid() Jörn On Wed, Apr 1, 2009 at 8:04 PM, pbindagorge wrote: > > I have really tried to figure out how to do this, but I can't figure > it out by what you wrote here. Can you please tell me more? > > Here's where I thought I should be attem

[jQuery] Re: jQuery.noConflict() and firefox 2: errors - is this a bug?

2009-04-01 Thread Payalba
Eric Martin a écrit : Like it was mentioned above, the noConflict() call has to come right after loading jQuery and before loading the other libraries. -Eric I just make a typo in my previous message it doesn't work. Regards, P

[jQuery] Re: [validate] How can I force element validation if the value is unchanged?

2009-04-01 Thread pbindagorge
I have really tried to figure out how to do this, but I can't figure it out by what you wrote here. Can you please tell me more? Here's where I thought I should be attempting this. The "validator" var points to the return of $('#aspnetForm').validate()... $ddlCountries.change(function() {

[jQuery] Re: jQuery.noConflict() and firefox 2: errors - is this a bug?

2009-04-01 Thread Eric Martin
Like it was mentioned above, the noConflict() call has to come right after loading jQuery and before loading the other libraries. -Eric On Mar 31, 11:54 pm, pyt wrote: > Hi, > > I have the same problem with FF2 on my eeePC (linux) > > The code is > > //--- > > > > > // If i do something like that (load jquery before prototype and scriptacoulos): //---