BUTTON THAT SUBMITS FORM DATA TO A NEW WINDOW; without modifying the form tag.
View Single Post
05-09-2013, 06:30 AM
Supreme Master coder!
Join Date: Feb 2009
Thanked 4,305 Times in 4,272 Posts
"submit to a function"??? That is semantic nonsense. You submit forms. You call or invoke functions.
Anyway, I *THINK* the answer is "of course":
<input type="button" value="Phone Call" onclick="SubmitPhone()"/>
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
View Public Profile
Find More Posts by Old Pedant