Click here to Skip to main content
15,918,333 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Programatically change image control ImageUrl Pin
Christian Graus29-Nov-06 12:37
protectorChristian Graus29-Nov-06 12:37 
GeneralRe: Programatically change image control ImageUrl Pin
Jrnsr850029-Nov-06 15:21
Jrnsr850029-Nov-06 15:21 
GeneralRe: Programatically change image control ImageUrl Pin
Paddy Boyd29-Nov-06 23:13
Paddy Boyd29-Nov-06 23:13 
GeneralRe: Programatically change image control ImageUrl Pin
Jrnsr850030-Nov-06 4:07
Jrnsr850030-Nov-06 4:07 
GeneralRe: Programatically change image control ImageUrl Pin
Jrnsr850030-Nov-06 17:39
Jrnsr850030-Nov-06 17:39 
QuestionJavascript and database Pin
ronapost29-Nov-06 11:29
ronapost29-Nov-06 11:29 
AnswerRe: Javascript and database Pin
Bradml29-Nov-06 11:43
Bradml29-Nov-06 11:43 
AnswerRe: Javascript and database Pin
Dominic Pettifer29-Nov-06 13:34
Dominic Pettifer29-Nov-06 13:34 
JavaScript is a scripting language that runs inside the browser and stays inside the browser. JavaScript can't be made to access anything external on the users computer, such as files on the users hard drive, or change settings on the users computer. If it did it would constitute a major security risk.

So basically what you're asking is impossible, you can't access a database directly but, as the other poster says, you could do it indirectly via a server side script in ASP/PHP etc, but it would have to be a database on the server and not on the users computer. You could get JavaScript to initiate a page post back, or use Ajax to call a server side ASP.NET page which connects to the database.

Dominic Pettifer

Blog: www.dominicpettifer.co.uk

AnswerRe: Javascript and database Pin
Torsten Mauz30-Nov-06 2:26
Torsten Mauz30-Nov-06 2:26 
GeneralRe: Javascript and database Pin
Dominic Pettifer30-Nov-06 11:42
Dominic Pettifer30-Nov-06 11:42 
QuestionWYSIWYG HTML Editor Pin
sam31529-Nov-06 10:09
sam31529-Nov-06 10:09 
AnswerRe: WYSIWYG HTML Editor Pin
Infomine Liam29-Nov-06 13:00
Infomine Liam29-Nov-06 13:00 
QuestionJavascript file existing checking [modified] Pin
Clickok29-Nov-06 6:47
Clickok29-Nov-06 6:47 
AnswerRe: Javascript file existing checking Pin
Torsten Mauz29-Nov-06 10:12
Torsten Mauz29-Nov-06 10:12 
GeneralRe: Javascript file existing checking Pin
Clickok29-Nov-06 11:34
Clickok29-Nov-06 11:34 
GeneralRe: Javascript file existing checking Pin
Torsten Mauz29-Nov-06 11:46
Torsten Mauz29-Nov-06 11:46 
GeneralRe: Javascript file existing checking Pin
Clickok29-Nov-06 11:54
Clickok29-Nov-06 11:54 
GeneralRe: Javascript file existing checking Pin
Torsten Mauz30-Nov-06 1:35
Torsten Mauz30-Nov-06 1:35 
QuestionWORD SEARCHING AND LISTING CODE ON HTML PAGES [modified] Pin
MARSHAX29-Nov-06 1:18
MARSHAX29-Nov-06 1:18 
GeneralASP.NET Caching Problem Pin
Brady Kelly29-Nov-06 0:27
Brady Kelly29-Nov-06 0:27 
GeneralRe: ASP.NET Caching Problem Pin
Torsten Mauz29-Nov-06 11:59
Torsten Mauz29-Nov-06 11:59 
QuestionHow to use CDONTS in UNIX Server using ASP Pin
Debi Prasad28-Nov-06 23:42
Debi Prasad28-Nov-06 23:42 
AnswerRe: How to use CDONTS in UNIX Server using ASP Pin
Bradml29-Nov-06 0:09
Bradml29-Nov-06 0:09 
GeneralRe: How to use CDONTS in UNIX Server using ASP Pin
Brady Kelly29-Nov-06 0:28
Brady Kelly29-Nov-06 0:28 
QuestionAbout the CodeProject page "script/comments/user_reply.asp" Pin
Davids_Maguire28-Nov-06 22:07
Davids_Maguire28-Nov-06 22:07 

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.