Re: [jQuery] This code is too complex for a noob, can someone break this down.

2010-01-25 Thread Bugman1400
Thankscan you give a little further guidance as to the proper way to include jQuery? Nathan Klatt-2 wrote: On Mon, Jan 25, 2010 at 5:19 PM, Bugman1400 trae.be...@coachmanridge.com wrote: I still get the Error $ is not defined in the console. What could that be from? That means

Re: [jQuery] This code is too complex for a noob, can someone break this down.

2010-01-25 Thread Bugman1400
Nathan Klatt-2 wrote: On Mon, Jan 25, 2010 at 5:19 PM, Bugman1400 trae.be...@coachmanridge.com wrote: I still get the Error $ is not defined in the console. What could that be from? That means jQuery isn't being properly included. Nathan Nevermind.I just figured it out. I

Re: [jQuery] This code is too complex for a noob, can someone break this down.

2010-01-24 Thread Bugman1400
To further understand the $.get() and its return data, I've simplified the code to this: a href=javascript:void(0); onclick='$.get(dotest.php,{ cmd: approve, id: 57 } ,function(data){ alert('What the Heck'); });' Approve /a And dotest.php is as follows: ?php echo 'Welcome '.$_GET['cmd'].'

Re: [jQuery] This code is too complex for a noob, can someone break this down.

2010-01-24 Thread Bugman1400
Nathan Klatt-2 wrote: On Sun, Jan 24, 2010 at 12:42 PM, Bugman1400 trae.be...@coachmanridge.com wrote: a href=javascript:void(0); onclick='$.get(dotest.php,{ cmd: approve, id: 57 } ,function(data){ alert('What the Heck'); });' Approve /a ... How come I get no response

Re: [jQuery] This code is too complex for a noob, can someone break this down.

2010-01-23 Thread Bugman1400
href=javascript:void(0); onclick='$.get(do.php,{ cmd: approve, id: ? echo $rrows['id']; ? } ,function(data){ $(#approve? echo $rrows['id']; ?).html(data); });' ? });'Approve -- View this message in context:

[jQuery] This code is too complex for a noob, can someone break this down.

2010-01-22 Thread Bugman1400
I'm fairly good at VB and know how to call a function and what a GET statement is, but I'm having trouble with the following. Can someone break it down? javascript:void(0); } ,function(data){ $(#approve? echo $rrows['id']; ?).html(data); });' ? });'Approve The do.php is a query that updates a