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 > 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 > wrote: >> I still get the Error "$ is not defined" in the console. What could that >> be from? >

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 > wrote: >> a href="javascript:void(0);" onclick='$.get("dotest.php",{ cmd: >> "approve", >> id: "57" } ,function(data){ alert('What the Heck

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: How come I get no response? I

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: "" } ,function(data){ $("#approve").html(data); });' ?>" });'>Approve -- View this message in context: http://old.nabble.com/This-code-is-too-complex-for-a-noob%2C-can-someone-break-this-down.-tp2728s27240p27286206.html

[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").html(data); });' ?>" });'>Approve The do.php is a query that updates a database and set