| | |
Request Header Parsing in Javascript
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
To my knowledge, you can't use JavaScript for this. JavaScript has a limited set of core operators, statements, and objects.
In this case, I would think the Document object would be the relevant one. I don't see any method or property of the browser DOM that returns header information (besides the "mimeType" property).
If I'm wrong, someone please correct me. I think you'll need a server-side language for this.
In this case, I would think the Document object would be the relevant one. I don't see any method or property of the browser DOM that returns header information (besides the "mimeType" property).
If I'm wrong, someone please correct me. I think you'll need a server-side language for this.
![]() |
Similar Threads
- call vb.exe from javascript (JavaScript / DHTML / AJAX)
- i want to declare header file in javascript (JavaScript / DHTML / AJAX)
- Frame detection possible? (HTML and CSS)
- who here can do perl? (Perl)
- Server side script in asp won't run on Netscape (ASP)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: tool tips
- Next Thread: Can JS suppress windows messages?
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate api automatically blackjack browser bug calendar captchaformproblem checkbox child class close cookies createrange() cursor dependent disablefirebug dom dropdown editor element engine events explorer ext file firehose flash form forms game google gxt hiddenvalue highlightedword html htmlform ie8 iframe image() images internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jump libcurl math matrixcaptcha media microsoft mysql object onerror onmouseoutdivproblem onreadystatechange parent passing paypal pdf php player post progressbar rated regex runtime scroll search security session shopping size software sql star stars stretch synchronous text textarea tweet twitter unicode validation web website window windowsxp wysiwyg \n






