Yeah, I found that later in the day. Thx, I appreciate yr help.
- AAA
On Aug 20, 8:25 pm, Jules wrote:
> The first parameter format for Animate should be
> {width:'100px'} instead of {width, '100px'}
>
> On Aug 21, 2:07 am, NotoriousWebmaster
> wrote:
>
> > I'm trying to animate a couple of
The first parameter format for Animate should be
{width:'100px'} instead of {width, '100px'}
On Aug 21, 2:07 am, NotoriousWebmaster
wrote:
> I'm trying to animate a couple of fields in a form. When the focus
> lands on field A it grows to 300px and fieldB shrinks to 100px. When
> focus lands o
Well here is my final working solution, its the best I can do I
think...
if ( \$(e.target).is('.legacy_view') ){
\$("#loading").toggle();
var query = \$("#legacy_data").val();
var array = query.split(',');
\$("#query").load("
The only reason the \'s are in the JAVASCRIPT code is because perl
users the $ sign to declare a scalar variable reference. I'm
generating this code completely myself, the problem is this function
is built way before the perl code even starts to run, the perl code is
just putting the data it creat
The code below is not JavaScript code. It's Perl code. You wouldn't have
those backslashes in JavaScript code.
That's the problem I was referring to: You're trying to debug JavaScript
code, but you're not looking at the JavaScript code itself, you're looking
at the Perl code that *generates* the
I'm not trying to debug anything on the perl side, like I said in my
original post I'm very new to Javascript, so there is something I'm
not getting in javascript that is causing problems.
I'm creating a string in perl that looks like this "Foo: Bar:, Foo2:
Bar2" and I'm writing that to a hidden
The problem is you're thinking in Perl. Forget Perl. You need to think in
HTML and JavaScript. You're trying to debug both sides at once and that's
not easy.
Instead, isolate the two problems. Load your page in the browser and do a
View Source to get the HTML code. Save that to a .html file. It s
In perl I'm generating the list, e.g. = $helloworld = "hello: var1,
goodbye: var2", so basically I'm getting this string from the input
box, and I want to have jQuery use this string rather than expecting
values, so I want thequery to be evaulated into the list for the
jquery function to process i
> \$("#query").load("/mysite/thepage.pl", {thequery},
> function(){
In this case the error is right. {thequery} is not a valid initializer
for an object.
Maybe you meant {data: thequery} or something like that? What is the
name of the parameter that your Perl page expects to get
Anyone got an idea's I've been looking nearly all day about javascript
variables, and I just dont know enough about them to figure out what
I'm doing wrong. I think its a jquery issue. How can I tell jQuery to
evaluate this var?
On Oct 1, 5:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
>
Basically what I need done is i need "thequery" variable evaluated to
be my string of params. like Value1: 1, Value2: 2, but I think jQuery
thinks thequery is similar to declaring value1, it doesnt know any
better. Is there anyway to say "This is a variable, evaulate it!?"
On Oct 1, 4:08 pm, "[EM
I've also tried this:
if ( \$(e.target).is('.legacy_view') ){
\$("#loading").toggle();
var thequery = \$("input#legacy_data").val();
alert (thequery);
\$("#query").load("/storeops/invoices/invoice.pl", {thequery},
function(){
12 matches
Mail list logo