Hello All
I have a text box. i want to insert <Span>Invalid value</span> next to that text box using Jquery.
Just like when we use validation,It will come next to textbox or else.
Hello All
I have a text box. i want to insert <Span>Invalid value</span> next to that text box using Jquery.
Just like when we use validation,It will come next to textbox or else.
Use after:
$("#myTextbox").after("<span>Invalid value</span>");
or insertAfter:
$('<span>Invalid value</span>').insertAfter('input:text');