I'm using jquery.
I have 3 textboxes on my page.
They are named. textbox1, textbox2, textbox3
Right now I have this run on page load:
// disable first dom element whose id starts with textbox
$('[id^=textbox]').disabled = true;
But since I used . That only disables the first textbox.
How do i revise the above line to disable all elements whose id starts with textbox ?
So it should disable all 3 textboxes.
Or if it would be easier by Class.