开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜