Home Self-Service Portal - Community
image IT Monkey:   


Formal Cireson Support (phone, email, and web) is not included with the free Self-Service Portal – Community app. For trouble shooting assistance, take advantage of the Cireson Community to find answers to your questions. However, if you’d like to purchase a Support Package to access more formal Cireson Support (phone, email, and web), please contact us today to learn more on the pricing options.

Selecting Elements in the DOM

Good Afternoon Everyone,

I am attempting to organize the service offering catalog in a manner that is not alphabetical.  I've written some custom Javascript that does allow me to order the Divs based off of a class name.  I have this working correctly on a smaller test environment but when I moved it over to the self service portal it seems that i am unable to select the items using the document.getElementsByClassName('cat') selector.  I have successfully selected other elements in the DOM for some custom css work that I needed so i believe I am targeting the right elements.  I know the script is connecting to the page, i've run a .length on what should be the returned node list and it returns 0.

Does anyone have any thoughts on what the malfunction is.  Any help would be greatly appreciated.

Jarrett

Best Answer

Answers

Sign In or Register to comment.