Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi, I droped a div into the editor and change its Id to "div_totalPagar". The div only contains the text "TOTAL A PAGAR:" inside of it. Rocket cake generate this code:
Now, using Ajax I need to change innerHtml of div_totalPagar. It works, but the style applied to the text is lost! For now, I copy/paste the RC generated code and merge it with the Ajax response to maintain the styles. Suggestion: all the elements inside a div must have its own id in order to use it and apply actions on the respective element. In this case, for example, the span must have an id and I could use it to apply innerhtml without lost the styles made with RC (wich is its Excelent function: firstly frontend design). Maybe it is not for regular users of Rocket Cake, but for the rest (like me) who applies a little more advance functions would be helpfull and time saving. |
||||
|
Voted up! |
|