0

I have one CGI using python and placed in server .Now i have one URL to call that CGI,in that url i need to pass value to update in database.So how can i pass value in that url using javascript. Please help me.

1 Answer 1

1

Use jQuery and make a call $.ajax("http://yourhost/someMethod?someParameter=someValue"), but the real solution depends on the expected format of your URL, method, i.e. GET or POST, and so on.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks skovalyov..But i am going access this is in an mobile ,in that ajax is not supported.IS any other option.
Then just open the URL invoking the method directly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.