But the thing with the code is that it only works when we deploy the page in the same server where our Crm is deployed.
When i had deployed the page in my machine, the page wasn’t refreshing but when i deployed the same page where the crm is deployed everything was working perfectly fine.
I think in the previous case because of the cross-domain issue i guess there were problems.
One more thing, to assign values to attributes in our Crm Form from our isv page we can make use of familiar syntax
parseInt – if the crm attribute is of numeric type