on 07-26-2016 5:02 AM
Hi,
I have to run jquery once the form elements gets loaded completely.. is thr any default function which gets called once dom is loaded... Jquery which is used is to hide textbox of fileuploader and change the text "browse" to upload icon.. Implementation is like i hav a toolpage wid scrollcontainers..inside scrollcontainer i have form with fileuploader.. onload of the form i want to change default file uploader to button wid upload icon in it which behaves like a fileuploader..
Thanks,
Ananthi.
Hi Ananthi,
For every control, there is an addEventDelegate method, you can try something like this:
var oForm = this.getView().byId("oForm"); //Get hold of form
oForm.addEventDelegate({
onAfterRendering: function(){
//Now Form is loaded, here you can handle the logic
}
}, oForm);
Regards,
Sai.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.