-
JavaScript variable to Java Function
Hi
I have a function
function verifyIP(IPAddress){
var errorString="";
var returnval;
if(IPAddress=="0.0.0.0" || IPAddress=="255.255.255.255"){
errorString=errorString+IPAddress+" is a special IPAddress";
returnval=false;
alert(errorString);
form.ipaddr.value="";
form.ipaddr.focus();
}
else{
Here i want to use IPAddress variable and pass it to java function Boolean connect(String ip){}
// ID of IPAddress text field is ipaddr
returnval= false;
}
return returnval;
}
Please help me
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks