Trim & quot; border & quot; 0 & quot; onclick & quot; if (this. pa regular, remove onclick
$ Str = 'screen. width-461) window. open (\ 'http: // response); "> ';
I want to remove the onclick in the above string. the regular expression I write is
Php responds to the button onclick event. I use the codeigniter framework in php to reference the smart template. how does the button event controller on the page respond to this issue? thank you. It is best to give an example.
Reply to
: This article mainly introduces how to jump to the page without refreshing onclick. For more information about PHP tutorials, see.
If the onclick of an event is not refreshed, the event will jump to the page for processing. Similar to thumb ups
The input output by echo cannot call the onclick event. & lt; SCRIPT & nbsp; language = JavaScript & nbsp; type = text/JavaScript & gt; function & nbsp; CheckAll (form) & nbsp; {for & nbsp; (var & nbsp; I = 0; input from I echo cannot be used to
How PHP responds to the button's onclick event
I PHP with the CodeIgniter Framework Reference Smart Template, the button event controller on the page how to respond to the expert answer, thank you. Can give an example the best.
------Solution--------
1. For the return value problem, once a return value exists in the function, the following statement is not executed and the return value directly jumps to the place where the function is called. The following PHP Functions
Code If the first if
Same request, an event onclick does not refresh to jump to the page processing. Similar to the likes, ASP file, wrote one yourself, does not turn function Zan () {Xmlhttp.open ("post", "zan.asp?id=122", True);}
function Deletea ()
1. For the return value problem, once a return value exists in the function, the following statement is not executed and the return value directly jumps to the place where the function is called. In the following PHP function code, if the first if
Ask: An error occurred while calling onclick in form. Ask a cainiao question:
The webpage I created has a submit button to submit the form content. However, because other processing is required, submit cannot be used directly. Instead, a button
Ask: An error occurred while calling onclick in form. ask a Cainiao question:
The webpage I created has a submit button to submit the form content. However, because other processing is required, submit cannot be used directly. Instead, a button
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.