troubleshooting Question

Can i select a specific  class using id

Avatar of Alex Lord
Alex Lord asked on
jQueryHTML
4 Comments2 Solutions94 ViewsLast Modified:
$(".modal-body").html(response.data);

am i able to get this class by using i Id to isolate it from other classes.



<div class="modal fade show" id="newModalWindow" tabindex="-1" role="dialog" aria-labelledby="newModalTitle" style="padding-right: 15px; display: block;"><div class="modal-dialog modal-dialog-centered modal-sm" role="document"><div class="modal-content"><div class="modal-header"><h5 class="modal-title" id="newModalTitle">Edit Note</h5><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button></div><div class="modal-body" style="padding: 1rem;"><form id="update-note-form" class="form-horizontal">
							<div class="form-group">
							<label class="col-md-12 control-label" for="textarea">Note</label>
							<div class="col-md-12">                     
								<textarea class="form-control" form="update-note-form" id="TEXT" name="TEXT">edit deal note</textarea>
								<input id="noteID" name="noteID" type="hidden" value="">
								<input id="subaction" name="subaction" type="hidden" value="update-note">
							</div>
							</div>			
						</form>
							</div><div class="modal-footer"><button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button><button id="update-Note" type="button" class="btn btn-success">Save</button></div></div></div></div>
ASKER CERTIFIED SOLUTION
Zakaria Acharki
Analyst Developer
Join our community to see this answer!
Unlock 2 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros