You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
this is a better approach but Darin Dimitrov is right about the syntax error. Also he should just return true in pdf() instead of submiting and returning false shouldn't he?the_drow– the_drow2010年03月28日 13:23:14 +00:00Commented Mar 28, 2010 at 13:23
-
Is he submiting the same form?user216441– user2164412010年03月28日 13:32:06 +00:00Commented Mar 28, 2010 at 13:32
-
Its very difficult to tell what is actually being suggested here, but it looks like it boils down to "Use onsubmit instead of onclick" — that won't solve the problem, and likely wouldn't fit the situation which looks like wanting to submit to a different address if a particular button is clicked.Quentin– Quentin2010年03月28日 13:43:10 +00:00Commented Mar 28, 2010 at 13:43
lang-js