In Jquery dropdown menu
I have develope a program to get selected text from dropdown menu. This
code is working in jsFiddle. but doesn't work in Browser. Is anything
problem in jquery coding?
Dropdown
$(document).ready(function(){ $('#ddl').change(function(){
var text= $('#ddl :selected').text(); $('#ddltext').html(text);
});
});
CSPIT ADIT BVM DDIT Nirma
Thanks in advance.
No comments:
Post a Comment