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
>
>
Nevermind.I just figured it out. I had
when it
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?
>
> That means jQuery isn't being pro
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
On Sun, Jan 24, 2010 at 9:01 PM, Bugman1400
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:
http://en.wikipedia.org/wiki/Internet_Explorer_Develope
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'); });'> Approve /a
>> ...
>> How come I get no response? Is there a further way
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'); });'> Approve /a
> ...
> How come I get no response? Is there a further way to debug? I've heard that
> Ajax errors
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
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 wrote:
>
> href="javascript:void(0);" onclick='$.get("do.php",{ cmd: "approve", id:
> " echo $rrows['id']; ?>" } ,function(data){ $("#approv
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
On Fri, Jan 22, 2010 at 6:57 PM, Bugman1400
wrote:
> javascript:void(0); " } ,function(data){ $("#approve ?>").html(data); });' ?>" });'>Approve
>
> The do.php is a query that updates a database and sets an Approve column to
> '1'.
More context plz, that fragment makes no sense.
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
11 matches
Mail list logo