Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 3rd, 2009, 02:28 PM
Registered User
 
Join Date: Sep 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default firefox javascript writing to database

Him
Hopefully I'm in the right spot to post this thread...it includes a few areas.

Using javascript with Firefox I need to write to a SQL database. I really, really would like to use javascript -- actually, it's pretty much a requirement.
If it can't be done with javascript, how are the db read and write done so both IE and non-IE browsers are served? (Sorry this part is wondering if I should be in a different forum. )
Thank you for all the help.
 
Old September 3rd, 2009, 04:43 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Can't be done.

Even if it could, WHERE is the database???

JavaScript in the browser runs on the CLIENT machine. So you'd have to install the database on EACH AND EVERY USER machine. Surely that's just plain silly.

Quote:
how are the db read and write done so both IE and non-IE browsers are served?
By using server-side technology. ASP or ASP.NET or PHP or JSP or ColdFusion or Perl or or or ....

Done on the *server* and never on the client machine in the browser. So choose the server technology you intend to use and go for it.

By the way, there is no such thing as a "SQL database." SQL is a language, used by virtually all database systems. Dare I assume you meant "SQL Server database"? (And if you do mean SQL Server, then presumably you are on a windows server, and presumably you would opt for ASP.NET or ASP as your server-side coding mechanisim, though you certainly don't have to.)
 
Old September 5th, 2009, 11:57 AM
Registered User
 
Join Date: Sep 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,
my total newbie level is quite evident!

OK, so the right place to be is in .asp.
thank you though





Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox vs. IE - Javascript problem VerbatimBOT ASP.NET 2.0 Professional 2 September 25th, 2008 03:28 AM
Javascript - Firefox is not supporting lakshmi252002 General .NET 0 April 17th, 2007 12:14 AM
Firefox javascript error akkad Ajax 2 November 27th, 2006 10:57 AM
How To Close firefox Window through javascript jitendersingal BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 1 February 10th, 2006 05:43 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.