I have been given this code by the ui designer and I dont know how to post the selected source array data to a php script so I can query it with MySQL, I am sorry I a beginner with JQuery, I would like to query the array like in a form option select style, or would it be better to use an associative array?
<div id='content'>
<script type="text/javascript">
$(document).ready(function () {
var source = [
"Select Your location",
"North London",
"South London",
"West London",
"East London",
"City of London",
];
// Create a jqxDropDownList
$("#jqxDropDownList").jqxDropDownList({
source: source,
selectedIndex: 0,
width: '250px',
height: '35px',
theme: 'summer'
});
});
</script>
<div id='jqxDropDownList'>