This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes can we add or remove a form attribute by javascript ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "can we add or remove a form attribute by javascript ?" Watch "can we add or remove a form attribute by javascript ?" New topic
Author

can we add or remove a form attribute by javascript ?

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
Hi
thank you for reading my post
can we add or remove form attributes ( i mean for example things like password , username ,...) by using javascript ?

for example when i post my jsf form to a 3rd pary web page it adds some more parameters than what i need , 3rd party web page does not accept post with more/less than 3 parameters
so i need to remove those two parameters from the url in post method

i should say that i use javascript to assign action and and submit the form

thanks
vishwanath nadimpally
Ranch Hand

Joined: Jan 25, 2005
Posts: 116
I don't know if this would serve any purpose for you but you can set the values of the unwanted parameters to empty strings. Like
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can we add or remove a form attribute by javascript ?
 
Similar Threads
how i can submit a form along with some parameters using javascript ?
Integrating with 3rd Party
Dynamic adding of a table row
why i can not use f:param inside an html form? what is the solution for it?
Sending a post to a servlet