I have been able to do a number of things using Javascript, but here is something that has got me stumped. The answer is probably obvious, but I can't see it.
to demonstrate: I've got a bit of script in the OnLoad event of the Account entity Form like this:
alert(crmForm.all.name.DataValue);
var client_name = crmForm.all.name.Datavalue;
alert(client_name);
The first alert works fine and displays the client name (as expected)
The second alert doesn't work and says "undefined".
I don't get it?
Peter