Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var daynum1 = $(this).text();
- var month1 = $('.ui-datepicker-month').text();
- var year1 = $('.ui-datepicker-year').text();
- var myDate = daynum1 + " " + month1 + " " + year1;
- $('#headingcontent').html(myDate);
- $.ajax({
- url: "events.php",
- type: "POST",
- data: {myDate: myDate},
- dataType: "html",
- success: function(html){
- $("#eventcontent").empty();
- $("#eventcontent").append(html);
- }
- });
- if(isset($_POST['myDate']))
- var titleevent = $("#dropdowntextbox").val();
- $.ajax({
- url: "editevents2.php",
- cache: false,
- data: {titleevent: titleevent},
- dataType: "html",
- success: function(html){
- $("#editeventspopup").empty();
- $("#editeventspopup").append(html);
- }
- });
- if(isset($_POST['title']))
- {
- $title = $_POST['title'];
- echo "hooray found it";
- }
- else
- {
- echo "hello";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement