homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Get/Post Javascript?
get, post, java, javascript

Msg#: 4599843 posted 9:41 pm on Aug 6, 2013 (gmt 0)

I have been coding html, js and css for a while but it's all been pretty much client side. I now need to know how to 'write' to a network location.

This is going to be a simple 10 question quiz. What I need after they're done with the quiz:
1) A score only posted back to the user (I can get this done)
2) The answers back to a network location - webpage - ?

I've read a lot and I can't do php, Ajax. So I don't think I can create a file. But what I was thinking was that I could 'post' the information to a webpage.

So my questions are:
1) Is that possible?
2) I understand the form submit code but how to I 'pick' up the transmitted info and load it onto a page?
3) Since there will be around 30 people taking this 'test' at the same time can I post ALL their results to the same page or will I have to have different pages for each user?
4) Is this the best solution or is there and easier way?

I don't think I can use any true 'server side' programming like PhP etc. due to some 'security' issues.



WebmasterWorld Senior Member penders us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

Msg#: 4599843 posted 11:39 pm on Aug 14, 2013 (gmt 0)

If you want something more than just a client-side quiz and to be able to "write" something permanently somewhere at a "network location" as you appear to require, for these users results to interact with each other in some way, then you are going to need some server-side scripting technology, like PHP.

By using just HTML, CSS and JavaScript, you are limited to client-side scripting in the browser.

Security issues?


Msg#: 4599843 posted 7:20 am on Apr 1, 2014 (gmt 0)

Hey hi !
When you are using get() then,requests can be bookmarked
should never be used when dealing with sensitive data.
There is in this method length restrictions,used only to retrieve data

Post() is quite opposite to get()
Post() requests never remain in the browser history,cannot be bookmarked and no restrictions on data length.


Msg#: 4599843 posted 11:49 am on Jun 3, 2014 (gmt 0)

In your case, Either THIS or THAT is possible...

If you don't want to use server side scripting, Than you can't passed & get value to another page,
And if you are using only HTML,CSS and jQuery than you can't get all the results on one page and even security is low in HTML and jQuery, Because it's client side,
So for better result you must have to use PHP, Or you have to forgot functionality and stick with HTML,CSS and jQuery....

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved