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

2010-01-25 Thread Nathan Klatt
On Sun, Jan 24, 2010 at 9:01 PM, Bugman1400 trae.be...@coachmanridge.com wrote: What is the best way to check the JS console? I am currently using MS FP. Should I switch to something like FireFox? If you don't want to switch environments, IE has a devloper toolbar:

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

2010-01-25 Thread Nathan Klatt
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

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 Nathan Klatt
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? Is there a further way to debug? I've heard

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? Is there a

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:

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

2010-01-23 Thread Amos King
submits a row to the server and then updates the content of the approve row to what is returned from the server. On Sat, Jan 23, 2010 at 9:06 AM, Bugman1400 trae.be...@coachmanridge.comwrote: href=javascript:void(0); onclick='$.get(do.php,{ cmd: approve, id: ? echo $rrows['id']; ? }

[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

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

2010-01-22 Thread Nathan Klatt
On Fri, Jan 22, 2010 at 6:57 PM, Bugman1400 trae.be...@coachmanridge.com wrote: javascript:void(0); } ,function(data){ $(#approve? echo $rrows['id']; ?).html(data); });' ? });'Approve The do.php is a query that updates a database and sets an Approve column to '1'. More context plz, that