I am trying to write a script to allow searching from my mobile web app. I have a search field, and a button. It doesn't seem to be processing the information right for it to search my VB forum correctly. Can someone tell me what's wrong with this code?
I put the "searchid=" at the end of the location because thats what VB forum uses I believe to search.
does nobody really have no idea? This is a mac programming forum and nobody knows?
I put the "searchid=" at the end of the location because thats what VB forum uses I believe to search.
Code:
function doSearch(event)
{
// Search Criteria
}
function detailButtonHandler(event)
{
// Values you provide
var searchFieldToChange = document.getElementById("searchfield"); // replace with ID of search field
var newSearchFieldText = "Searching"; // value to change range to
// Search field code
searchFieldToChange.value = newSearchFieldText;
document.location = ("http://www.infotechelite.com/forum/search.php?searchid=" + detailController._representedObject);
}
does nobody really have no idea? This is a mac programming forum and nobody knows?