Fred Montier Posted February 10 Posted February 10 Hi As the code below show... <button type="button" class="btn btn-default btn-copy js-tooltip js-copy" data-toggle="tooltip" data-placement="bottom" data-copy="john.doe@email.com" title="Copy to clipboard"> And reach the client side with the proper JS code provided by a external lib. What is the best approach to send this (custom tags) code to client site ? CustomAttribs is not the place since it works at server side only. What is the best solution to use in a regular "unigui button" ? Thanks in advance. PS: ignore the class code names. Referring to other fields (proper name is Custom data tags/fields) not class ! Quote
Fred Montier Posted February 10 Author Posted February 10 I'm aware of solutions. My question is the uniIGUI/Ext.js native best solution. See more details at: https://stackoverflow.com/questions/2744455/is-it-a-bad-practice-to-add-extra-attributes-to-html-elements Many JS libs does that to its controls/elements. That should work as a "CustomClientAttribs" to add to specific controls. I know that its possible with CSS in some cases but not all. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.