JavaScript change Jquery loaded page URL change jquery onload,jquery change ajax loaded content

I have this code on my index.php page:

$('.EditCustomer').load("page1.php");

<select name="date" id="date" class="form-control">
...options here...
</select>

i then have this on page1.php which should change page1.php to be page1.php?date=1234

$(document).ready(function() {
        $('#date').on('change', function() {
            $('.EditCustomer').load("page1.php?date=" + $(this).val());
            alert($(this).val());
        });
    });

but its not doing it because it cannot find the .EditCustomer div

how can i make it change the page1.php?

Answer:1

I have an array as follows var arry = [ [1, "Convention Hall", "Mumbai", 10, "XYZ Company"], [2, "Auditorium", "Delhi", 10, "ABC Company"], [3, "CenterHall", "Bangalore", ...

I have an array as follows var arry = [ [1, "Convention Hall", "Mumbai", 10, "XYZ Company"], [2, "Auditorium", "Delhi", 10, "ABC Company"], [3, "CenterHall", "Bangalore", ...

  1. sort multidimensional array php
  2. sort multidimensional array javascript
  3. sort multidimensional array java
  4. sort multidimensional array python
  5. sort multidimensional array by value
  6. sort multidimensional array c#
  7. sort multidimensional array by key php
  8. sort multidimensional array vba
  9. sort multidimensional array alphabetically php
  10. sort multidimensional array php by date
  11. sort multidimensional array laravel
  12. sort multidimensional array numpy
  13. sort multidimensional array by key value php
  14. sort multidimensional array by key
  15. sort multidimensional array jquery
  16. sort multidimensional array powershell
  17. sort multidimensional array php by value date
  18. sort multidimensional array in descending order php
  19. sort multidimensional array php by column
  20. sort multidimensional array php by two values

When you serialise a form using jQuery.serialize(), the method will serialise the form fields and its values so you can submit to the server. Is there a method/function that would do the same with a ...

When you serialise a form using jQuery.serialize(), the method will serialise the form fields and its values so you can submit to the server. Is there a method/function that would do the same with a ...

  1. deserialize javascript object c#
  2. deserialize javascript object
  3. serialise javascript object
  4. javascript serialise object to json
  5. serialize javascript object
  6. serialize javascript object to json
  7. serialize javascript object with functions
  8. serialize javascript object to query string
  9. serializable javascript object
  10. serialize javascript object to string
  11. serialize javascript object to xml
  12. serialize javascript object to array
  13. js serialise object
  14. javascript serialize object for post
  15. javascript serialize object c#
  16. javascript serialize object to url string
  17. javascript serialize object to form data
  18. javascript serialize object to json c#
  19. javascript serialize object to file
  20. javascript serialize object to byte array

A really simple program, but I am not sure why its not getting executed. Here's my HTML file :- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-...

A really simple program, but I am not sure why its not getting executed. Here's my HTML file :- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-...

  1. alert not working in document.ready

I have to build a program for the employees of my company to declare days of work, vacation, days of illness etc.. My idea was to use fullcalendar drag and drop function to make something nice. Only ...

I have to build a program for the employees of my company to declare days of work, vacation, days of illness etc.. My idea was to use fullcalendar drag and drop function to make something nice. Only ...

  1. extract event from splunk
  2. extract event logs from windows
  3. extract data from event viewer
  4. extract logs from event viewer
  5. extract json from event splunk
  6. extract certificate from event log
  7. extract time from event splunk
  8. extract event logs from sap