DEV Community

SHRAY SALVI
SHRAY SALVI

Posted on

Select button in html

So basically I created a web page on which if a button (with id = 1) is clicked then django send an html button (with id = 2) to that web page. Now, according to static files button 2 is not going to be selected by getElementById. So my question is how could I select button (with id = 2) to do another task on clicking that button (with id 2) using js specifically.

Top comments (0)