•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 426,136 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 1,783 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 JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 841 | Replies: 1
![]() |
•
•
Join Date: Oct 2006
Posts: 7
Reputation:
Rep Power: 0
Solved Threads: 1
<script language="JavaScript">
<!--
function restore(what){
if (confirm("Are you sure you want to overwrite the database with the file " + what + "?")) {
window.location = "backups.php?action=restore&file=" + what;
}
}
function delete(what){
if (confirm("Are you sure you want to overwrite the database with the file " + what + "?")) {
window.location = "backups.php?action=restore&file=" + what;
}
}
//-->
</script>I am calling the functions with a link:
<a href="javascript:delete('filename')">Delete</a>Why doesn't this work?
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- IE problem - Something's wrong with this JS (JavaScript / DHTML / AJAX)
- javascript links freezing/lagging computer. (Web Browsers)
- Javascript + HTML DOM problem (JavaScript / DHTML / AJAX)
- Multithreading problem (C)
- Javascript/HTML problem!!! (JavaScript / DHTML / AJAX)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Re: Scroll Bars for the [Code][/Code] Tagged Portion
- Next Thread: Help...



Linear Mode