Hello,
I want to check Remove of RadAsyncUpload is clicked or not to set textbox(ruFakeInput) width according to that condition.
My script is
$telerik.$(document).ready(
function
() {
setTimeout(
function
() {
var
btnRemove = document.getElementById(
"<%= btnRomovePhoto.ClientID %>"
);
if
(btnRemove) {
$(
'input.ruFakeInput'
).css(
"width"
,
"120px"
);
}
else
{
$(
'input.ruFakeInput'
).css(
"width"
,
"191px"
);
}
//here i check .ruRemove is clicked or not and set 'ruFakeInput' width
}, 200);
});
i try this way
$telerik.$(
"button [name=RowRemove]"
).click(
function
() {
alert(
'click'
);
});
and
$telerik.$(
".RadUpload .ruRemove"
).click(
function
() {
alert(
'click'
);//here set $(
'input.ruFakeInput'
).css(
"width"
,
"120px"
);
});
but its not working. Any solution?