I am not an expert in javaScrit , but i have the following concern. I have the following Script :-
<script type="text/javascript">
$(document).ready(function () {
$("#DCSort").click(function () {
what this indicates is the following :- 1. the script will run when the document finishes loading. 2. when the DCSort DOM element is clicked .
my question is as follow:- let say that after the document loaded , a new element with DCsort have replaced the old DCSort element , will the original javaScrip fire when the newly added DCSort element has been added using an Ajax call and i use click on it ? Thanks