We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,415 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Making http post request on clicking a button

I have 4 buttons on my page and I want each one to make a different http post request on clicking them. I tried using form for each of them but that make them appear in different lines but I want all of them to be horizontally aligned. Is there any way through Javascript to do it without using form.

And also tell me what exactly I need to write in button tag

1
Contributor
0
Replies
1
View
Question
Answered
warlord902
Junior Poster
121 posts since Dec 2010
Reputation Points: 19
Solved Threads: 0
Skill Endorsements: 0
Question Self-Answered as of 1 Year Ago

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0544 seconds using 2.67MB