[UPHPU] help with a snippet of code

Justin Carmony justin at justincarmony.com
Wed Dec 9 16:28:55 MST 2009


FireBug, a plugin for FireFox. It is awesome for HTML/CSS/JS  
debugging. Once you start using it, you can't imagine life without  
it. :P

Justin


On Dec 9, 2009, at 3:47 PM, Jordan Schatz wrote:

>
>>> This is actually a javascript question...
>>>
>>> This works:
>>>
>>>  eval ("document.item_form.FinalPrice_" + counter + ".value =" +
>>> final_price);
>>>
>>> This doesn't:
>>>
>>> document.item_form.FinalPrice_[counter].value = final_price;
>>>
>>> What I am doing wrong.
>
> This is a little off topic, but is there a good javascript debugger? I
> dislike working in js,  but I think alot of it is do to the fact  
> that it
> just dies, no error line, to suggestions as to what kind of an  
> error...
>
> Jordan
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net



More information about the UPHPU mailing list