943,548 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 48361
  • JSP RSS
Apr 5th, 2006
0

database connection(select ,insert query) within javascript function

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
muthumari is offline Offline
20 posts
since Mar 2006
Apr 5th, 2006
0

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

Quote 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.
Reputation Points: 9
Solved Threads: 0
Newbie Poster
madhav_2k is offline Offline
5 posts
since Apr 2006
Jan 13th, 2008
0

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

hi,
can u please send me some sample coding of javascript having a database connection.


thank Q.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kothala.srikant is offline Offline
1 posts
since Jan 2008
Jan 13th, 2008
0

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

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...
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,653 posts
since Dec 2004
Jan 24th, 2008
-1

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

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.
Reputation Points: 10
Solved Threads: 3
Newbie Poster
Zhoot is offline Offline
22 posts
since Jan 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: Jsp upload and download files from database
Next Thread in JSP Forum Timeline: jsp login code





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC