开发者

Can you change the action of a form without JavaScript?

开发者 https://www.devze.com 2022-12-14 11:08 出处:网络
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

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

精彩评论

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