Jquery not working - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Jquery not working (/showthread.php?tid=23984) |
Jquery not working - El Forum - 10-28-2009 [eluser]aum[/eluser] Hi All, i am trying to run a code based on jquery but its not running at all Below is the code Code: <head> i just copied it from some working example http://www.jankoatwarpspeed.com/examples/enhance-input-fields/ but same is not working at my local machine while the alert in script showing that jquery is getting loaded . can any one help me to find out the error Regards, Umesh Jquery not working - El Forum - 10-28-2009 [eluser]Ben Edmunds[/eluser] Do you get any errors in Firebug in Firefox? Jquery not working - El Forum - 10-28-2009 [eluser]aum[/eluser] I tested it using FireBug but it is also not showing any error at all.. Jquery not working - El Forum - 10-28-2009 [eluser]Ben Edmunds[/eluser] Do you get anything if you apply the new class to only one element instead of to two, like $('input') instead of $('input, textarea')? What version of jQuery are you using? Do you get anything if you do: Code: $(function() {alert('test');}); Jquery not working - El Forum - 10-28-2009 [eluser]aum[/eluser] Thanks for the reply.. Code: [removed] alert inside the function is working. and honestly i don't have much idea about jquery or javascript regarding Jquery version i amusing this one jQuery 1.2.6 Jquery not working - El Forum - 10-28-2009 [eluser]Unknown[/eluser] As you're using 1.2.6 (current one is 1.3.2), follow the article here http://www.jquerymagic.com/2008/08/getting-started-with-jquery/ and see if you get the alerts or not. Jquery not working - El Forum - 10-29-2009 [eluser]DogWin[/eluser] Did you load the file "jquery.js". |