input - Dojo and finding an element with no name and dynamic ID -
After the
It is possible for Hey All Dojo (version 8) to get an Input tag ID or class without knowing why I can change the style of the input box? All input boxes (which I have 8) are all named for the same class. Please note that I am unable to edit the code given below on the web page. "OnBlur, onFlocus: onFocus, onkeyup: onkeyup onBlur" Input dojoattachpoint = "text box, focusNode, _aroundNode" dojoattachevent =, I only have an "onShow" property I thought that the easiest way would be to find Ex: Bob and then repeat an element back in principle which would be in the Input Box section, but I I am unsure / if this is to happen, it will also work in the first place. Any help would be great! ! Thanks Update :. Instead of what I should do for this: This is still: Do you have javascript Access to the file that supports the template? If so, you can refer to it only from the attached point However I'm not sure why to add so many points to your input object. If that does not work, how do you uniquely identify your input box? Is it the type of input? Is it from their position? If so, you can probably use dojo / query to work with it. You can find the documents for dojo / query
& lt You can use id = "2c6af1dc-80cb-44f2-864d-1fb00216895dF_SingleLine-Widget" name = "" class = "dijitReset dijitTextBox notDojoDndHandle" type = "text" tabindex = "0" aria-label = "text" width = " Auto "value =" "area-described" = 2c6af1dc-80cb-44f2-864d-1fb00216895dF_SingleLine- widget-placeholder "style =" max-width: 2.5mm; width: 90%; " & Gt; & Lt; span class = "dijitPlaceHolder dijitInputField" id = "2c6af1dc-80cb-44f2-864d-1fb00216895dF_SingleLine- widget-placeholder" style = "max-width: 2.5em; width: 90%;" & Gt; Formerly: Bob & lt; / Span & gt;
dojo.query ("span.dijitPlaceHolder.dijitInputField") foreach (function (node, index, arrival) {if (node.innerHTML === "For example: Bob ') {var foundIt = dojo.query (node) .prev (); dojo.addClass (foundIt, "testClass");}});
class = "dijitReset dijitTextBox notDojoDndHandle testClass"
class = "dijitReset dijitTextBox notDojoDndHandle"
this.textbox
Comments
Post a Comment