[jQuery] Re: Where to place my code on AJAX calls

2009-11-24 Thread bhu Boue vidya
i think its because you are binding the handler to a DOM element before it exists if you use the 'live' method you may get what you want ie $().ready(function() { $('#submit1').live('click', function() { alert('it works!'); }); }); alternately, bind the event handler *after* the

[jQuery] Re: Add / Remove Class help

2009-08-13 Thread bhu Boue vidya
you could also use $("bookmarked, .bookmarked.not") esp. if the ".not" class is used elsewhere in the html On Aug 13, 7:51 pm, "Richard D. Worth" wrote: > You selector has an error: > $(".bookmarked,.bookmarked not") > > That will match any elements with a class of 'bookmarked' as well as a

[jQuery] Re: How to Get Retuned GeoLocation

2009-08-13 Thread bhu Boue vidya
it might be a cross-site scripting issue you may get around it by writing a simple 'wrapper' php script on your own webserver, which uses cURL to get the info and return it to your js On Aug 13, 8:03 pm, Bluesapphire wrote: > Hi! >     Iam using following JQuery Code: > > /***

[jQuery] Re: Menu and sub Menu

2009-08-12 Thread bhu Boue vidya
i like superfish http://users.tpg.com.au/j_birch/plugins/superfish/ On Aug 12, 8:22 pm, bharani kumar wrote: > Hi All. > > Am looking very simple menu and sub menu jquery plugin , > > I looked some plugins , that are lot of JS include files are used , > > So i dont want lot js includes , > > th

[jQuery] Re: malsup's form plugin

2009-08-11 Thread bhu Boue vidya
the response from the webserver is injected into an iframe (so that the file upload, which can only be done via a form submit, is able to be made 'ajax-like'), and so you want to protect the json from the browser's prying eyes On Aug 11, 2:27 pm, Saliem wrote: > Hello all -- > > How does wrapp

[jQuery] Re: trouble defining post variable when form element is dynamic

2009-08-09 Thread bhu Boue vidya
maybe you could use the "rel" attribute to set the id of each email entry in your form (this would be done in php), and then use the value of "rel" when sending info back to your ajax script not sure exactly how your html is constructed, but this is roughly what i am thinking: johnciti...@b