javascript - jQuery select fails to find form by ID, but works when selecting all forms -
this question has answer here:
- why doesn't jquery selector period work 9 answers
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'));
the '.' making jquery think looking id cablesolve sorts of classes
Comments
Post a Comment