Click here to Skip to main content
15,911,531 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: usb Pin
WoutL23-Aug-10 0:50
WoutL23-Aug-10 0:50 
QuestionImage lazy load issue Pin
tidelgl18-Aug-10 3:14
tidelgl18-Aug-10 3:14 
Questionprint issue Pin
salmonraju16-Aug-10 23:31
salmonraju16-Aug-10 23:31 
AnswerRe: print issue Pin
R. Giskard Reventlov16-Aug-10 23:38
R. Giskard Reventlov16-Aug-10 23:38 
GeneralRe: print issue Pin
salmonraju17-Aug-10 0:01
salmonraju17-Aug-10 0:01 
GeneralRe: print issue Pin
R. Giskard Reventlov17-Aug-10 0:24
R. Giskard Reventlov17-Aug-10 0:24 
Questionconnect to database using javascript Pin
SatyaKeerthi1516-Aug-10 2:18
SatyaKeerthi1516-Aug-10 2:18 
AnswerRe: connect to database using javascript PinPopular
J4amieC16-Aug-10 4:03
J4amieC16-Aug-10 4:03 
DONT DO THIS! I CANNOT STRESS STRONGLY ENOUGH HOW BAD THE CODE ABOVE IS.

1) Exposing a connection string in javascript code
2) Exposing the sa password in javascript code Unsure | :~
3) Relying on ActiveX, which is IE only (this one answers your question).
4) In any case, most uses of IE will get a security warning when running this code, it is inherantly unsafe to allow this code to run.

As to how normal, qualified people "fill a listbox from a database using javascript" - they use AJAX, which is to say javascript makes an HTTP request to a serverside script (probably ASP.NET in your case) which returns the data only to javascript for filling the listbox. At no time can the user see anything about the database connection.
GeneralRe: connect to database using javascript Pin
SatyaKeerthi1516-Aug-10 22:58
SatyaKeerthi1516-Aug-10 22:58 
AnswerRe: connect to database using javascript Pin
thatraja16-Aug-10 23:06
professionalthatraja16-Aug-10 23:06 
GeneralRe: connect to database using javascript Pin
Yusuf22-Aug-10 23:04
Yusuf22-Aug-10 23:04 
QuestionOverview menu like on www.raytheon.com Pin
harleydk13-Aug-10 1:18
harleydk13-Aug-10 1:18 
AnswerRe: Overview menu like on www.raytheon.com Pin
Not Active15-Aug-10 4:20
mentorNot Active15-Aug-10 4:20 
GeneralRe: Overview menu like on www.raytheon.com Pin
harleydk22-Aug-10 19:24
harleydk22-Aug-10 19:24 
QuestionLink through javascript Pin
offroaderdan12-Aug-10 4:47
offroaderdan12-Aug-10 4:47 
AnswerRe: Link through javascript Pin
daveyerwin12-Aug-10 6:02
daveyerwin12-Aug-10 6:02 
GeneralRe: Link through javascript Pin
offroaderdan12-Aug-10 6:24
offroaderdan12-Aug-10 6:24 
GeneralRe: Link through javascript Pin
daveyerwin12-Aug-10 6:57
daveyerwin12-Aug-10 6:57 
AnswerRe: Link through javascript Pin
NeverHeardOfMe12-Aug-10 7:09
NeverHeardOfMe12-Aug-10 7:09 
GeneralRe: Link through javascript Pin
daveyerwin12-Aug-10 7:17
daveyerwin12-Aug-10 7:17 
GeneralRe: Link through javascript Pin
NeverHeardOfMe12-Aug-10 7:24
NeverHeardOfMe12-Aug-10 7:24 
Questioncountdown timer initializes on refreshing the page but it should not Pin
Amit Spadez11-Aug-10 19:33
professionalAmit Spadez11-Aug-10 19:33 
AnswerRe: countdown timer initializes on refreshing the page but it should not Pin
daveyerwin12-Aug-10 2:33
daveyerwin12-Aug-10 2:33 
GeneralRe: countdown timer initializes on refreshing the page but it should not Pin
Amit Spadez22-Aug-10 23:42
professionalAmit Spadez22-Aug-10 23:42 
GeneralRe: countdown timer initializes on refreshing the page but it should not [modified] Pin
daveyerwin24-Aug-10 8:09
daveyerwin24-Aug-10 8:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.