You need to sign in to do that
Don't have an account?
Nag22
Javascript is not working in IOS device and its working fine with Android (Salesforce1)
Hi ,
I have written hide functionality in my visualforce page based on redio buttons YES/No selection, if YES one block will be displayed.
For that I have used below code .
function ShowHideNo(divId,val)
{
if( val == 'Yes' )
{
document.getElementById(divId).style.display='block';
}
else
{
document.getElementById(divId).style.display = 'none';
}
}
The above code is working fine with android devices but incaseo of
IOS when ever I selected 'Yes' it refreshes to top of the page. But in android devices its not happening like that its working perfectly.
it needs to work IOS devices as well, how can I get rid of this conflict , anyone know please let me know.
I have written hide functionality in my visualforce page based on redio buttons YES/No selection, if YES one block will be displayed.
For that I have used below code .
function ShowHideNo(divId,val)
{
if( val == 'Yes' )
{
document.getElementById(divId).style.display='block';
}
else
{
document.getElementById(divId).style.display = 'none';
}
}
The above code is working fine with android devices but incaseo of
IOS when ever I selected 'Yes' it refreshes to top of the page. But in android devices its not happening like that its working perfectly.
it needs to work IOS devices as well, how can I get rid of this conflict , anyone know please let me know.
https://developer.salesforce.com/en/mobile/getting-started/ios