471,120 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,120 software developers and data experts.

how to call a C function from Java script?.

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
1 1592
b1randon
171 Expert 100+
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.

Similar topics

15 posts views Thread by chirs | last post: by
1 post views Thread by Stacey | last post: by
1 post views Thread by Mike Moore | last post: by
4 posts views Thread by sajithkahawatta | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.