-1. Changing the name doesn't solve the problem (well, there really isn't a
problem...not with turbine at least).

You don't have to even use a hidden field to solve the problem.

$link.setAction("foo") works just fine.

The problem is the guy doesn't know Javascript. Therefore, since this is a
Javascript question and this is the Turbine list. It is the wrong forum for
this discussion. Go buy a javascript book or do more research on the net or
something.

thanks,

-jon


on 12/15/2000 12:58 PM, "Fedor Karpelevitch" <[EMAIL PROTECTED]>
wrote:

> Hi!
> 
> what browser are you using?
> 
> I understand what the problem is thogh. Guys, what about changing hidden
> field name to smth else. For example "Action" or "hdnAction" or something.
> 
>> Hi have a code that looks like this in my HTML
>> 
>> <form name="MyName" action = " .... TurbineUrL" target="_self">
>> <INPUT type ="hidden" name="action" value="MyAction">
>> </form >
>> 
>> when I try using a Jscript to do somehting like this to change the action
> of
>> my form:
>> 
>> document.forms[0].action = "another URL"
>> 
>> i get an error.
>> 
>> Shouldn't document.forms[0].action point to the forms propertry action,
>> and document.forms[0].action.value point to the forms hidden field value.
>> 
>> I am new to all this so please bear with me.
>> 
>> Sarbjit\
>> 
>> 
>> 
>> ------------------------------------------------------------
>> To subscribe:        [EMAIL PROTECTED]
>> To unsubscribe:      [EMAIL PROTECTED]
>> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
>> Problems?:           [EMAIL PROTECTED]
>> 
> 
> 
> fedor.
> 
> --
> BNTP: Bad News Transfer Protocol
> 
> 
> 
> 
> 
> _______________________________________________________
> Send a cool gift with your E-Card
> http://www.bluemountain.com/giftcenter/
> 
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
> 

-- 
Honk if you love peace and quiet.




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to