jquery Programming Glossary: monthid
Jquery getJSON populate select menu question http://stackoverflow.com/questions/1502649/jquery-getjson-populate-select-menu-question to accomplish this...maybe PHP file php queryMonth SELECT monthID month FROM months result db query queryMonth while rowMonth.. function data select.month .append option value data 0 .monthID data 0 .month option select.month .append option value data.. 0 .month option select.month .append option value data 1 .monthID data 1 .month option select.month .append option value data..
Jquery getJSON populate select menu question http://stackoverflow.com/questions/1502649/jquery-getjson-populate-select-menu-question to bring in these values Surely there must be an easier way to accomplish this...maybe PHP file php queryMonth SELECT monthID month FROM months result db query queryMonth while rowMonth db fetch_assoc result data rowMonth endwhile echo json_encode.. echo json_encode data The jQuery .getJSON 'selectMenus.php' function data select.month .append option value data 0 .monthID data 0 .month option select.month .append option value data 1 .monthID data 1 .month option select.month .append option.. data select.month .append option value data 0 .monthID data 0 .month option select.month .append option value data 1 .monthID data 1 .month option select.month .append option value data 2 .monthID data 2 .month option select.month .append option..
|