- Dom
- Document
- Elements
- Html
- Events
- Event Listeners
- getElementById()
- getElementsByTagName()
- getElementsByClassName()
onchange
An HTML element has been changedonclick
The user clicks an HTML elementonmouseover
The user moves the mouse over an HTML elementonmouseout
The user moves the mouse away from an HTML elementonkeydown
The user pushes a keyboard keyonload
The browser has finished loading the page
- Receive two numbers and display their sum.
- Receive lower and upper range (bound) and display all prime numbers between the range.
- Take two strings and display
"Found"
if first string is a substring of the second string, else"not found"
. - Design two combos (Select) and the options selected in the first combo should not appear in the second combo. Both the combos are having same set of options.
- Design a textbox only receives exactly six characters. (No more No Less)
- Design a dynamic Table, Click add row will create another row with
Add Row
Button. OnceAdd Row
Clicked it would change toDelete Row
and onClick that particular Row will be deleted. - On Click of a button,
"Click Button"
will create another ButtonButton 1
and onClick ofButton 1
,Button 2
will be created and so on. Once button is clicked It should be inactive. (Only latest button works). - Receive one quadratic equation and find the roots of the equation.