Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function () {
- $("#edit-status-list").change(function() {
- var selectedStatus = $(this).find(":selected").text();
- var charExists = ((window.location.href).indexOf('?') >= 0) ? true : false;
- if(charExists){
- var split = (window.location.href).split('?');
- var loc = split[0];
- loc = loc+"?status="+selectedStatus;
- self.location.href= loc;
- }
- else{
- var locf = window.location.href+"?status="+selectedStatus;
- self.location.href= locf;
- }
- });
- });
- function populateReference(){
- //edit-analysis-code-one
- //edit-analysis-code-two
- //edit-custRef
- var optedDropDownValue = document.getElementById($("#edit-analysis-code-one"));
- alert("Hello" + optedDropDownValue);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement