Try…
for YUI
Dom.get("gadget_url").set("value","");
with normal Javascript
document.getElementById('gadget_url').value="";
with JQuery
$("#gadget_url").val("");
More Related Contents:
- How to get the raw value an field?
- How do I make an input field accept only letters in javaScript?
- How can I check if a string is a valid number?
- HTML5 form required attribute. Set custom validation message?
- JavaScript file upload size validation
- Set the value of an input field
- Set keyboard caret position in html textbox
- jQuery selector for inputs with square brackets in the name attribute
- Regex pattern to match at least 1 number and 1 character in a string
- How can I listen to the form submit event in javascript?
- How to get current formatted date dd/mm/yyyy in Javascript and append it to an input [duplicate]
- How to validate inputs dynamically created using ng-repeat, ng-show (angular)
- Check whether an input string contains a number in javascript
- Validate decimal numbers in JavaScript – IsNumeric()
- Javascript: how to validate dates in format MM-DD-YYYY?
- Escaping backslash in string – javascript
- ZIP Code (US Postal Code) validation
- How do I remove javascript validation from my eclipse project?
- Safari JS cannot parse YYYY-MM-DD date format?
- Execute function before refresh
- Parsing numbers with a comma decimal separator in JavaScript
- show validation error messages on submit in angularjs
- HTML5 restricting input characters
- how to sum two numbers from input tag? [duplicate]
- Why can’t I get the input from the input box?
- Check if input is number or letter javascript
- JS check for valid date format
- Form Validation With Bootstrap (jQuery)
- Detect when “cursor position inside input change” in jQuery?
- Is there a way to validate dynamic key names in a Joi schema?