•
•
•
•
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 392,094 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,867 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: 1116 | Replies: 2
![]() |
•
•
Join Date: Oct 2007
Posts: 8
Reputation:
Rep Power: 0
Solved Threads: 0
Hi all,
I'm having problem with the javascript functions.
I'm using OOB webpage that uses MOSS features for search.
It seems that when I click the search button, it doesn't work using firefox browser.
Here is the code from the XML page:
<td bgcolor="#666666" width="70px"><img src="../images/Search-buttonA.gif" onclick='gosearch()' id="searchImage" style="cursor:pointer"></td>
<script language="javascript">
function gosearch()
{
var scope = "&s=Discussions"
var resultsurl="../Pages/Discussions.aspx";
var Search = document.getElementById("txtSearch0").getAttribute("value");
var resultsurl = resultsurl + "?k=" + Search + scope;
window.navigate(resultsurl)
}
</script>
Can anyone help me on this?
Am I missing something???
I'm having problem with the javascript functions.
I'm using OOB webpage that uses MOSS features for search.
It seems that when I click the search button, it doesn't work using firefox browser.
Here is the code from the XML page:
<td bgcolor="#666666" width="70px"><img src="../images/Search-buttonA.gif" onclick='gosearch()' id="searchImage" style="cursor:pointer"></td>
<script language="javascript">
function gosearch()
{
var scope = "&s=Discussions"
var resultsurl="../Pages/Discussions.aspx";
var Search = document.getElementById("txtSearch0").getAttribute("value");
var resultsurl = resultsurl + "?k=" + Search + scope;
window.navigate(resultsurl)
}
</script>
Can anyone help me on this?
Am I missing something???
window.nagivate()
window.location.href = "pagename"
Last edited by Xavier2k : Oct 26th, 2007 at 6:28 am.
If OOB means Out Of the Box, and that is really supposed to be xml, you got rooked. I see deprecated code, which is part of html, but which is NOT part of either xhtml or xml:
bgcolor is deprecated.
width as a property is deprecated, but is allowed as a CSS style.
bgcolor is deprecated.
width as a property is deprecated, but is allowed as a CSS style.
Daylight-saving time uses more gasoline
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
addiction ajax asp beta blackberry bon browser browsers browsing developer development echo email encryption europe firefox gecko home html internet internet explorer javascript leak linux memory microsoft mozilla msdn networking news office open source open-source patch phishing scams security site social software sql super survey teleworking testing users vista web webmail work
- Why javascript does not work on firefox? (JavaScript / DHTML / AJAX)
- Why the following does not work in Firefox (JavaScript / DHTML / AJAX)
- Javascript functions problem (JavaScript / DHTML / AJAX)
- Can't view JavaScript on Firefox/IE (Web Browsers)
- Javascript problem in FIREFOX (JavaScript / DHTML / AJAX)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: How to make the images fly all over ?
- Next Thread: Javascript newbie help!



Linear Mode