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
>
>
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?
>
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
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
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
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
6 matches
Mail list logo