Can you change the action of a form without JavaScript?
I was hoping to do the whole degrading gracefully thing without making m开发者_如何学编程y form have ugly extra buttons and breaking up my program structure with another layer of indirection. I really doubt that this is possible, but is there an option I am unaware of?
Thanks!
Nope, what is coded is coded. But if you have access to a server side language, it should be easy to have one action (e.g. a php script) that includes the right file based on a pressed button or selected input value.
精彩评论