Posts

Showing posts with the label inline

In angular grid, I have a column with an editor template (reactive form) in inline Kendo grid. It doesn't link template control (textbox) and the form

Image
Clash Royale CLAN TAG #URR8PPP In angular grid, I have a column with an editor template (reactive form) in inline Kendo grid. It doesn't link template control (textbox) and the form In kendo grid, I have a column with an editor template (reactive form). It doesn't link template control (textbox) and the form, because of that changes are not getting reflected in the grid and not binding the template to the model. By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Creating a div with onclick inline that uses a class

Creating a div with onclick inline that uses a class So a bit of a seemingly complicated div Im trying to make, mostly because of the CMS I am using (that doesnt allow JS in the editor, but does allow inline js). Im creating a clickable div that goes to a website. <div onclick="location.href='http://www.google.com';">THIS IS MY LINK</div> There is also a class that's being used on the backend that allows any link tag to open a lightbox. Everything works seemlessly using that method, but for the sake of this specific design, a div NEEDS to be used to open a link, and the only JS that can be used must be inline. Weird situation, I know - but my question is this. Is there a way to have that onclick open a link and also call the class that is already in use on the page? So basically clicking the div, and opening the link in the lightbox (as if it was a regular link with a class)? 1 Answer 1...