Home > front end >  Html automatically perform method function excuse me, how to implement
Html automatically perform method function excuse me, how to implement

Time:04-24

 & lt; Input type="hidden" id="isqianming" value="https://bbs.csdn.net/topics/<?=$flowinfor [' nowcourse] [' isqm]?>"> 
<? PHP
//need to sign to show
If ((int) $flowinfor [' nowcourse] [' isqm] & gt; 0 {
?>




<? PHP
}



This is two button, which sign [quote] click of the button will call a method is "c.q ianyin (this)"

I don't now want to achieve click, also do not need to display the button, the default automatically perform "c.q ianyin (this)" this method

Is HTML pages, excuse me what method can achieve

CodePudding user response:

In js window. The onl oad inside to write a function, then calls the function

CodePudding user response:

In & lt;/tr> A line on & lt; script> C. qianyin (this) & lt;/script> Js, they only want to be introduced in advance, or according to the upstairs in & lt; script> Window. The onl oad=function () {c. qianyin (this)} & lt;/script>
  • Related