My problem is that, although my script seems to work on my preliminary tests, I can't locate the script in the DOM in order to verify its presence and do trace testing.
Using Chrome's developer tools inspector menu, I can click on the description and see the text in the inspector panel. However, I can't see the script there. I know its present somewhere in the DOM because my jQuery is formatting the description input as written.
Can anyone shed light on where the script is written to the DOM?
Here's the contents of the description field:
Hi zezeto, I've placed my script into the custom field (customfield_21070) via this path:
Adminstration > Fields > Custom Fields > (Calculated Estimate) > Edit Custom Field Details
The customfield_21070 input element is referenced as "Calculated Estimate" on the Custom Fields screen. That's where I've placed my code and field label.
I can verify that my label is present, and it also changes as expected, when I edit the custom field. However, the problem remains that the script that's placed just below the field label cannot be found in the DOM. I would expect the script to appear directly below the field label in the DOM. However, its not there.
Bottom line: the script works perfectly. However, I can't locate it in the DOM in the expected location.
I'm not sure I'm communicating the problem clearly.
There is no problem seeing the description. See my notes above. The problem is that when I view the live page and try to inspect the DOM, I can't see the script that's in the same field as the description. But I surely CAN see the description fine.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot