[jQuery] Re: Waiting for Ajax Response

2007-09-12 Thread atomicnuke
Yeah, the response isn't being inserted using the $ ('#'+holder).html(msg); Usually firebug will tell me file not found or error from the file, but I'm getting nothing. I'll try your approach, see what happens.

[jQuery] Waiting for Ajax Response

2007-09-12 Thread atomicnuke
I have a small function outside of the onload method of the rest, so it'll only be loaded for a specific page. $('#apost :text').change(function(){ var entry = $(this).val(); var name = $(this).attr("id"); var holder = name+"holder"; $('#'+name).val(''); $.

[jQuery] Re: Slowing callback function

2007-09-02 Thread atomicnuke
ave if you're doing HTML). > > To delay the second effect, you can use setTimeout, like so (untested): > > $('slidediv').slideUp('slow', function() { > setTimeout(function() { > $('fadediv').fadeIn('slow'); > }, 750);

[jQuery] Slowing callback function

2007-09-02 Thread atomicnuke
I'm trying in slideUp a div then fade in another when it has completed the slide. I tried using the fadeIn as a callback function $('slidediv').slideUp('slow', function() { $('fadediv').fadeIn('slow'); }); Is there a way to delay the fade, everything happens so fast you can't really tell the new

[jQuery] Re: HTML in Ajax XML response

2007-09-02 Thread atomicnuke
Never mind I got it working by stumbling across using CDATA in the xml response. On Sep 2, 1:38 am, atomicnuke <[EMAIL PROTECTED]> wrote: > Is there a way to do this? I thought just placing the response in a > div with html() would work, but it ignored the 's.

[jQuery] HTML in Ajax XML response

2007-09-01 Thread atomicnuke
Is there a way to do this? I thought just placing the response in a div with html() would work, but it ignored the 's.

[jQuery] Re: JS stops running

2007-08-30 Thread atomicnuke
Was hoping someone could shed some light on this, but I'll post back if I find the problem, just hard with no errors.

[jQuery] Re: JS stops running

2007-08-30 Thread atomicnuke
Still trying, if I comment out the $.ajax section and put an alert after that section the code runs, but once I uncomment the page just processes the default way. I get no errors in firebug or anything, so not sure why it just seems to skip the function.

[jQuery] JS stops running

2007-08-29 Thread atomicnuke
I have the following function, it gets the data in a form and sends it to be verified before posting. $("#commentform form").submit(function(){ var uname = $("#commenter").val(); var email = $('#email').val(); var url = $('#website').val();

[jQuery] Re: Problem with change()

2007-08-28 Thread atomicnuke
Yeah, guess I kind of didn't put that in a question format, again, thanks for the help.

[jQuery] Re: Problem with change()

2007-08-27 Thread atomicnuke
Yeah, guess autocomplete will work, to lazy to write a timer function, lol. Quick unrelated question, I ran across a plugin for jQuery that if you inserted content in with Ajax the links won't be recognized by jQuery, but the plugin helps to fix that.

[jQuery] Problem with change()

2007-08-27 Thread atomicnuke
I wrote a function that check text fields in a form using change, it works for the most part. But if say they go to the email field and the remember function of the browser pops up and they click that instead of typing it, the change method doesn't detect it. There a way to deal with this?

[jQuery] Re: Passing variable in jQuery

2007-08-26 Thread atomicnuke
So simple, thank you!

[jQuery] Passing variable in jQuery

2007-08-26 Thread atomicnuke
I'm trying to get the text of what I clicked for later in the function, but can't seem to pass it. $("#pnav li a").click(function(){ var page = $(this).text(); $("#article").slideUp("slow", function(page){ alert(page); }); return false; }); If I te

[jQuery] Stopping a link from forwarding

2007-08-26 Thread atomicnuke
I have the following code and was wondering how you stop a link from forwarding to the url when clicked? I'd assume it'd go inside the click, but couldn't find a way looking through the Visual jQuery. $("#pnav li a").click(function(){ $("#article").slideUp("slow"); }); Also, not sure if

[jQuery] Help Traversing

2007-08-26 Thread atomicnuke
I hope this isn't a double post, my other one was over 12hrs ago and it never displayed. I'm trying to get the text out of a tag, I can do this if I set an id name, but I don't want to id everything, since with jQuery I don't need to. The premise is I'm clicking a link and it gets two values and

[jQuery] Help Traversing

2007-08-26 Thread atomicnuke
$(document).ready(function(){ $("#comments span h5 a").click(function(){ var author = $(this).parent("span").next("p").text(); alert(author); }) }); Minion(Reply) Back to normal status I'm trying to figure out how to grab the text between the

[jQuery] Re: Beginner not getting it.

2007-08-26 Thread atomicnuke
Yeah, I'm an idiot, the jQuery script was uploaded to the wrong directory for whatever reason. Sorry for the pointless post, lol. So far I'm tinkering with it and truly enjoying the potential I see jQuery offering. Thanks for not being mean about it!!

[jQuery] Beginner not getting it.

2007-08-24 Thread atomicnuke
I've been trying to follow the tutorials for the simple things and they aren't working. This is just a short snippet: $(document).ready(function(){ $("a").click(function(){ alert("Thanks for visiting!"); }); }); Click But I just get an error in firebug '$ is not defined" on