javascript - asp.net mvc: difference between dropdown & textbox onchange event -
If there is some pain with this incident, I have some code for the dropdown:
< Code> Return Assistant Dropdown list (Data.model EntityID.To String (), Selection List, "& lt; Select & gt;", New {onChange = onChange});
Where there is a variable with the JavaScript function running onChange, it works great. However, the replacement ad with the text box version (below) is removed when the page loads (unlike dropdown list, different behaviors are upset). When the JavaScript function is called when the page is loading, I get an error: Javascript could not be found "undefined" ... (it works later)
Return Helper Textbox (data.modelty.modeltext.toString (), data. Value text, new {onchange = onChange});
example JavaScript
function utility check (provider ID, check ID, parent ID) {warning ("map") ; // is still still to test the error};
Should I use a text effect for a different event, or something special "What should I do?
Comments
Post a Comment