javascript - jQuery select fails to find form by ID, but works when selecting all forms -


this question has answer here:

i attempting select form id using jquery. currently, code fails find form id. however, using jquery select forms on page select form , shows appropriate id. idea have why happening perhaps form's id using invalid characters.

console.log("forms:", $('form')); console.log("orderdetailsform:", $('form#cablesolve.web.models.workflow.existingorderdetailsmodel')); 

enter image description here

the '.' making jquery think looking id cablesolve sorts of classes


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -