User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 391,548 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,519 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 14665 | Replies: 4
Reply
Join Date: Mar 2006
Posts: 20
Reputation: muthumari is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
muthumari muthumari is offline Offline
Newbie Poster

Help database connection(select ,insert query) within javascript function

  #1  
Apr 5th, 2006
Hi ,
How to write the database connection(insert,delete or select query) within javascript function.Is it possible.Anyone can you help me


Thank you
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2006
Posts: 5
Reputation: madhav_2k is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
madhav_2k madhav_2k is offline Offline
Newbie Poster

Re: database connection(select ,insert query) within javascript function

  #2  
Apr 5th, 2006
Originally Posted by muthumari
Hi ,
How to write the database connection(insert,delete or select query) within javascript function.Is it possible.Anyone can you help me


Thank you

You could put java code in JSP tags in a javascript function. I think that should be possible.
Reply With Quote  
Join Date: Jan 2008
Posts: 1
Reputation: kothala.srikant is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
kothala.srikant kothala.srikant is offline Offline
Newbie Poster

Re: database connection(select ,insert query) within javascript function

  #3  
Jan 13th, 2008
hi,
can u please send me some sample coding of javascript having a database connection.


thank Q.
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,134
Reputation: peter_budo has a spectacular aura about peter_budo has a spectacular aura about peter_budo has a spectacular aura about 
Rep Power: 10
Solved Threads: 257
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: database connection(select ,insert query) within javascript function

  #4  
Jan 13th, 2008
JavaScript database connection? Are you sure you know what you talking about?
Secondly, please read forum rules. We try to help solve your problems but not doing your job...
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Reply With Quote  
Join Date: Jan 2008
Posts: 5
Reputation: Zhoot is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
Zhoot Zhoot is offline Offline
Newbie Poster

Re: database connection(select ,insert query) within javascript function

  #5  
Jan 24th, 2008
Being rude is among the forum rules as well.

Javascript is a Client-side language. So it can't use DB itself. But if you really want to use javascript with a database then the closest you can come is AJAX. Search the forums for some AJAX examples and you can always google on tutorials, tho my tip is www.tizag.com, their tutorials are very well structured and have learned me the basics of every language they provide tutorials for.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JSP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JSP Forum

All times are GMT -4. The time now is 8:58 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC