Hi,
I want to display the cursor as an hourglass on the click of a button in the form and use the following line to achieve that
Me.btnRecherche .Attributes.Add ("onclick", "document.body. style.cursor = 'wait'; ")
Sadly, it doesn't work. One strange thing is that when I write the following:
Me.btnRecherche .Attributes.Add ("onclick", "document.body. style.cursor = 'wait'; alert(""ASASSAS "");")
I do get the alert, but the cursor doesn't change.
Is there something wrong with the line document.body.s tyle.cursor = 'wait'; ?
Thanks,
P
I want to display the cursor as an hourglass on the click of a button in the form and use the following line to achieve that
Me.btnRecherche .Attributes.Add ("onclick", "document.body. style.cursor = 'wait'; ")
Sadly, it doesn't work. One strange thing is that when I write the following:
Me.btnRecherche .Attributes.Add ("onclick", "document.body. style.cursor = 'wait'; alert(""ASASSAS "");")
I do get the alert, but the cursor doesn't change.
Is there something wrong with the line document.body.s tyle.cursor = 'wait'; ?
Thanks,
P
Comment