•
•
•
•
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 373,915 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 3,764 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: 6745 | Replies: 4
•
•
Join Date: Jun 2004
Location: H4x0rville
Posts: 2,105
Reputation:
Rep Power: 9
Solved Threads: 18
I have a javscript function which opens a url....The only thing is I need it to open pages with parameters, and I'm not sure how to do it:
If you can point me in the right direction or help me out in any way, I would really appreciate it.
<html>
<head>
<title>LinkOpener</title>
<script language="JavaScript">
<!--
function SearchTest(url, args)
{
// if args is null, do the following
window.open(url,'win1','width=600,height=700, status, toolbar, menubar, scrollbars, resizable')
// else
// implement your code
}
// -->
</script>
<body>
<h3>Search Test:</h3>
<a href="#wf" onClick="javascript:SearchTest('http://www.msn.com','')">GET request</a>
<br>
<a href="#wf" onClick="javascript:SearchTest('http://www.ntis.gov/search/results.asp?loc=3-0-0&search=','frm_qry_Category=ALL&frm_qry_Search=earth&frm_qry_Search=AND&frm_qry_Search=&frm_qry_Search=AND&frm_qry_Search=&frm_qry_Year=1990&frm_qry_MaxRec=100&frm_qry_Rank=1')">POST request</a>
</body>
</html>If you can point me in the right direction or help me out in any way, I would really appreciate it.
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
- passing parameters in bat file (Visual Basic 4 / 5 / 6)
- Junior Developer have some doubts in CF_SQL_NUMERIC (ColdFusion)
- Passing Variables/Parameters - By Ref/Value? (Computer Science and Software Design)
- Passing data from forms from one page to another (JavaScript / DHTML / AJAX)
- ASP, Java and XML-RPC (ASP)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Having trouble running javascript
- Next Thread: JavaScript reference website or download




Threaded Mode