|
-
javascript call function from php file! (using yii)
I'm trying to call a function in a .js file from the php page where I'm displaying it!
What I want to do is something like this:
.php file:
> ...
> function testFunc(){
> return "2";
> }
> ...
now I want to call this function inside the .js file!
Thaks in advance for your help
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks