I have not used jquery much yet and not very familiar with it.
Trying to do the below:
// JavaScript Document
$(document).ready(function()
{
$('#day').change (function ()
{
//next to lines work here but not if placed after $.get
var day = $('#day').val() ;
$("#test").html(day);
$.get('http://www.sharingizcaring.com/schedule/menutest.php', { day: $('#day').val() },
function(data)
{
$("#test").html( data );
});
});
});
Setting the .html to blah blah works.. But if I switch actions to use the value of the select item #day
day is a <select>
tag.
Also the code works correctly above the $.get() function.
It does not work.