index.php
myscripts.js
function check_year_event(year_id, event_id) {
var year = document.getElementById(year_id).value;
var event = document.getElementById(event_id).value;
// call PHP function (but I don't know how): checkYearandEvent(year, event);
}
我的問題是我怎麼調用PHP函數每次用戶更改任何select
的值時元件。
請先閱讀這篇文章:http://answers.yahoo.com/question/index?qid=20090602184659AAjObIj – Marcin 2011-05-12 21:18:04
雅虎的回答,真的嗎? – 2011-05-12 21:22:02
@RocketHazmat我知道這是古老的,但大聲笑 – MonkeyZeus 2014-02-26 13:24:19