Possible Duplicate:
Call php function from javascript Call php function from javascript
can anyone help me on how can I call the php function on JS function?
Here is the event:
I have 2 selection box (e.g projects and task) when selecting on project selection box, the task selection box will be populated. values populated on the task selection box is in my PHP DAO.
Here is my javascript but it doesn't work but my idea is like that
function getProjTask()
{
var taskList = <?php $projTask->getProjectTask("ProjectName"); ?>
//values for task selection box has been populated here
}
Possible Duplicate:
Call php function from javascript
can anyone help me on how can I call the php function on JS function?
Here is the event:
I have 2 selection box (e.g projects and task) when selecting on project selection box, the task selection box will be populated. values populated on the task selection box is in my PHP DAO.
Here is my javascript but it doesn't work but my idea is like that
function getProjTask()
{
var taskList = <?php $projTask->getProjectTask("ProjectName"); ?>
//values for task selection box has been populated here
}
Possible Duplicate:
Call php function from javascript
can anyone help me on how can I call the php function on JS function?
Here is the event:
I have 2 selection box (e.g projects and task) when selecting on project selection box, the task selection box will be populated. values populated on the task selection box is in my PHP DAO.
Here is my javascript but it doesn't work but my idea is like that
function getProjTask()
{
var taskList = <?php $projTask->getProjectTask("ProjectName"); ?>
//values for task selection box has been populated here
}
Possible Duplicate:
Call php function from javascript
can anyone help me on how can I call the php function on JS function?
Here is the event:
I have 2 selection box (e.g projects and task) when selecting on project selection box, the task selection box will be populated. values populated on the task selection box is in my PHP DAO.
Here is my javascript but it doesn't work but my idea is like that
function getProjTask()
{
var taskList = <?php $projTask->getProjectTask("ProjectName"); ?>
//values for task selection box has been populated here
}
can anyone help me on how can I call the php function on JS function?
Here is the event:
I have 2 selection box (e.g projects and task) when selecting on project selection box, the task selection box will be populated. values populated on the task selection box is in my PHP DAO.
Here is my javascript but it doesn't work but my idea is like that
function getProjTask()
{
var taskList = <?php $projTask->getProjectTask("ProjectName"); ?>
//values for task selection box has been populated here
}
Possible Duplicate:
Call php function from javascript
can anyone help me on how can I call the php function on JS function?
Here is the event:
I have 2 selection box (e.g projects and task) when selecting on project selection box, the task selection box will be populated. values populated on the task selection box is in my PHP DAO.
Here is my javascript but it doesn't work but my idea is like that
function getProjTask()
{
var taskList = <?php $projTask->getProjectTask("ProjectName"); ?>
//values for task selection box has been populated here
}
calling php on js
can anyone help me on how can I call the php function on JS function?
Here is the event:
I have 2 selection box (e.g projects and task) when selecting on project selection box, the task selection box will be populated. values populated on the task selection box is in my PHP DAO.
Here is my javascript but it doesn't work but my idea is like that
function getProjTask()
{
var taskList = <?php $projTask->getProjectTask("ProjectName"); ?>
//values for task selection box has been populated here
}