By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,761 Members | 1,045 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,761 IT Pros & Developers. It's quick & easy.

how to call a C function from Java script?.

P: 1
hello,

for me, I want to get a SSID (name) from a function when click a button and display it.
I am using " cliSet.c " C file for storing that name. In that C file I am using nameSet() function foe seting name and nameGet() for getting name.

So, is it possible to call that C function from this java script ?.
not that whole c function.
Feb 15 '07 #1
Share this Question
Share on Google+
1 Reply

b1randon
Expert 100+
P: 171
hello,

for me, I want to get a SSID (name) from a function when click a button and display it.
I am using " cliSet.c " C file for storing that name. In that C file I am using nameSet() function foe seting name and nameGet() for getting name.

So, is it possible to call that C function from this java script ?.
not that whole c function.
You will need to use AJAX and call your C function on the server. JS is client only so you will not be able to issue any commands for your server from the client (without making another request as is done with AJAX).
Feb 15 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.