Hi @all,
i am working on a widget launching a mobile website. The widget exists of two input fields. After clicking the "search"-Button the mobile Website will be launched showing a result list depending on the entered parameters.
My problem is that the javascript function is not called!
Part of my html-code:
<form name="form1">
<input type="text" id="location" name="location"/>
<input type="text" id="search" name="search"/><input type="button" value="Suchen" onclick='searchButtonClicked();'/>
</form>
and the js-part:
function searchButtonClicked() {
var location = document.form1.location.value;
var search = document.form1.search.value;
var launchURL = "http://mySite.de/launcher?&location=" + location + "&search=" + search;
widget.openURL(launchURL);
}
Do I have to pay special attention on calling a function in a opera/vodafone widget?
Thanks for any kind of help!
niwi
