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 -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -