Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
![]() |
•
•
Join Date: Jul 2008
Location: Sweet India
Posts: 993
Reputation:
Rep Power: 2
Solved Threads: 90
javascript Syntax (Toggle Plain Text)
<a href="javascript:del('passing variable')" >JS function</a>
Be intelligent, But Don't try to cheat.. Be innocent But Don't get cheated..
•
•
Join Date: Jun 2008
Location: Dhaka
Posts: 10
Reputation:
Rep Power: 1
Solved Threads: 0
i want to call the function dynamically from a php or anyother script. like
if(true)
{
<script>
startFunction();
</script>
} Last edited by Tekmaven : Jul 31st, 2008 at 6:34 am. Reason: Code tags
•
•
Join Date: Jul 2008
Location: Sweet India
Posts: 993
Reputation:
Rep Power: 2
Solved Threads: 90
heloo try this:
if(true)
{
echo '<script language="javascript">startFunction();
</script>';
} Be intelligent, But Don't try to cheat.. Be innocent But Don't get cheated..
•
•
Join Date: Jul 2008
Location: Sweet India
Posts: 993
Reputation:
Rep Power: 2
Solved Threads: 90
![]() |
Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
- How to call a PHP function from Javascript and return the results back into Javascrip (PHP)
- Problems with form submition (JavaScript / DHTML / AJAX)
- Calling C# function through Javascript in ASP.NET (ASP.NET)
- Calendar for php form (PHP)
- php drop down menu to search multiple sql tables (PHP)
- How can i get href="mailto.. to work in a function. (HTML and CSS)
- javascript in mozilla firefox (JavaScript / DHTML / AJAX)
- How can pass backspace(go previous page)fuctionality to a button (ASP.NET)
- Call Function (ASP.NET)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: How do I add this javacript code into a php coded page!
- Next Thread: About right click
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode