drop down menu - When a DropDownList change its html when change -


When a html dropdownlist is selected, will the browser automatically replace its HTML? From

for example

& lt; Option value = "val" & gt; / Options & gt;

& lt; Option value = "val" selected & gt; Some text & lt; / Options & gt;

It can be changed automatically or I have to change it manually What should I do Java Script?

The same question applies to the checkbox.

Any idea would be appreciated

when An HTML DropDownList is selected, will your browser change options be HTML automotially?

Yes. You can view it with any developer tool in your browser. For example: In Chrome, right click, select "Inspect element"

  & lt; Option value = "val" & gt; Some text & lt; / Option & gt; See.   

Then, selecting an option will change for HTML

  & lt; Option value = "val" selected & gt; Some text & lt; / Options & gt;    

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -