[jQuery] When async:false in ajax function, Firebug shows blank Response
Hi, Have spoiled a whole day on this issue. So ... For your information, when you set async to false in your ajax function, the Response will be blank in Firebug. Seemed to work before, but don't know if it's related to Firefox, Firebug or jQuery. Using : Firebug 1.5.0 Firefox 3.6 jQuery 1.4 -- View this message in context: http://old.nabble.com/When-async%3Afalse-in-ajax-function%2C-Firebug-shows-blank-Response-tp27391308s27240p27391308.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] jQuery Cycle plugin, previous and next image preview
Hello everyone, I am using the jQuery cycle plugin to create a very basic slideshow with 2 buttons (previous and next). Is it possible while running the slideshow to assign somehow on these 2 buttons a preview (like a tooltip or something) a preview of the previous and next images?
Re: [jQuery] (validate) Validation following server-side submit
You might consider using the remote option: http://jquery.bassistance.de/validate/demo/captcha/ Or, have onSubmit submit the form asynchronously and redirect if the submit is successful. In both cases you'll want to re-validate the submittal but if it's not successful, who cares if you handle someone being an ass in a graceful manner? :) Nathan
[jQuery] How to add 'selected' to option of dynamically set Select input?
I've been using the following to display the statename in my dropdown: $('#State option[value=' + LocationObject.State + ']').attr('selected', 'selected'); LocationObject is a json object that I am using. The problem with this is that it does not add 'selected' to the option tage of the dropdown so when the user submits the form the value of the dropdown is incorrect. How can I add 'selected' to the option. Seems easy but I've not foind a solution to this in any posts. btw: I've also tried these 2 without luck either: $(#State).val(LocationObject.State).attr('selected', 'selected'); $(#State).val(LocationObject.State); thanks! -- View this message in context: http://old.nabble.com/How-to-add-%27selected%27-to-option-of-dynamically-set-Select-input--tp27394631s27240p27394631.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Re: [jQuery] Re: Autocomplete plugin compatability with jQuery 1.4?
On Fri, Jan 29, 2010 at 1:38 AM, Richard D. Worth rdwo...@gmail.com wrote: The latest version is jQuery UI Autocomplete, and it is compatible with jQuery 1.4. You can find it in jQuery UI 1.8rc1: http://blog.jqueryui.com/2010/01/jquery-ui-1-8rc1/ Is the UI autocomplete based on Jörn's autocomplete ? If seems a huge refactoring! regards
Re: [jQuery] Re: Autocomplete plugin compatability with jQuery 1.4?
Yes, and yes. On Sun, Jan 31, 2010 at 3:41 PM, Jose jmal...@gmail.com wrote: On Fri, Jan 29, 2010 at 1:38 AM, Richard D. Worth rdwo...@gmail.com wrote: The latest version is jQuery UI Autocomplete, and it is compatible with jQuery 1.4. You can find it in jQuery UI 1.8rc1: http://blog.jqueryui.com/2010/01/jquery-ui-1-8rc1/ Is the UI autocomplete based on Jörn's autocomplete ? If seems a huge refactoring! regards
[jQuery] Browser / AJAX help
I have a star click to bookmark type feature. It works in FF, IE but not Opera or Chrome. Filled star = page book marked Empty star = not bookmarked In FF and IE first click changes the star from empty to filled, click filled star turns back to empty (info saved in db successfully). In Opera and Chrome clicking the stars fills them and 2nd click will return it back to empty but it never saves to the db. If i bookmark 20 pages in FF, go to Chrome or Opera and un-select the bookmarked selections it saves (deletes the bookmark) but it never saves any new bookmarks. My js looks like this: $(a.bookmarked).live('click', function(){ var url_id = $(this).attr('id').split('_'); var status = $(this).attr('class'); $(this).toggleClass(not); $.ajax({ type: POST, cache:false, url: '/bookmark/'+url_id[1], }); return false; }); Any ideas? Dave
RE: [jQuery] Browser / AJAX help
Have you checked the console to see whether the parameter you pass to your server side script is empty or not? The code you pasted lacks a curly bracket, a closing parenthesis and a semi-colon, but I assume you've got it in your original code, haven't you? Best regards, Andreas
RE: [jQuery] Browser / AJAX help
Yes its there...just a miss on the copy / paste. No errors reported in FF or IE using firebug / IE developer bar. Cant find one for chrome. Just weirs how Opera and Chrome wont save a new bookmark yet if there is a bookmark saved fromFF or IE theni go to Chrome or Opera they will remove a bookmark, but wont save one. Dave -Original Message- From: Andreas Möller [mailto:localhe...@l8m.de] Sent: February-01-10 1:39 AM To: jquery-en@googlegroups.com Subject: RE: [jQuery] Browser / AJAX help Have you checked the console to see whether the parameter you pass to your server side script is empty or not? The code you pasted lacks a curly bracket, a closing parenthesis and a semi-colon, but I assume you've got it in your original code, haven't you? Best regards, Andreas