Search
 
SCRIPT & CODE EXAMPLE
 

HTML

pass parameter 2 html button

<form method="get" action="c.php">
<input type="submit" id="as" value="a_submit">
<input type="hidden" value="1" name="a" id="a">
<input type="hidden" value="1" name="b" id="b">
<input type="text" value="hello" name="myText">
<input type="submit" id="bs" value="b_submit">
</form>
<script>
document.getElementById('as').onclick = function() {
   document.getElementById('b').disabled= true;;
};
document.getElementById('bs').onclick = function() {
   document.getElementById('a').disabled = true;
};
</script>
Comment

PREVIOUS NEXT
Code Example
Html :: java.rmi.connectexception: connection refused to host: 127.0.0.1 
Html :: imutils video stream external camera 
Html :: design to html 
Html :: https://api.github.com/search/issues?q=windows+label:bug+language:python+state:open&sort=created&order=asc 
Html :: color ful scroll bar 
Html :: how to change db cred in wordpress 
Html :: text align justify html 
Html :: self closing tag html 
Html :: html strike tag customize 
Html :: Remove preceding text or numbers Google Sheets 
Html :: do not translate page html 
Html :: shortcut key attribue of ancho tag 
Html :: create a string of 1024 characters 
Html :: export figma design to html 
Html :: html setup 
Html :: site.baseurl page.image_path 
Html :: angular pass data without -let 
Html :: Jawaban 1 
Html :: element is no longer attached to DOM. Unable to animate. 
Html :: text -center bootstrape 
Html :: html text not editable 
Html :: http request for resource not found 
Html :: sample html code for homepage 
Html :: html star 
Html :: elementos linea html 
Html :: what is participe passe 
Css :: unselectable text css 
Css :: flex froggy level 24 solution 
Css :: Disable highlighting text in CSS. 
Css :: bootstrap 4 center image 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =