database connection(select ,insert query) within javascript function

Reply

Join Date: Mar 2006
Posts: 20
Reputation: muthumari is an unknown quantity at this point 
Solved Threads: 0
muthumari muthumari is offline Offline
Newbie Poster

database connection(select ,insert query) within javascript function

 
0
  #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
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5
Reputation: madhav_2k is an unknown quantity at this point 
Solved Threads: 0
madhav_2k madhav_2k is offline Offline
Newbie Poster

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

 
0
  #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 Quick reply to this message  
Join Date: Jan 2008
Posts: 1
Reputation: kothala.srikant is an unknown quantity at this point 
Solved Threads: 0
kothala.srikant kothala.srikant is offline Offline
Newbie Poster

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

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


thank Q.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,191
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 485
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

 
0
  #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)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 10
Reputation: Zhoot is an unknown quantity at this point 
Solved Threads: 1
Zhoot Zhoot is offline Offline
Newbie Poster

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

 
0
  #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 Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC