5
Views
5
Comments
[Screen Helper] jQuery
Question
cake-005-icon-png
Web icon
Forge asset by Rebecca Hall
Why do you need jQuery 1.6.2 ?

Everybody is implementing their own jQuery in components.
Might become messy if all kind of versions are glued to components ...
2018-06-01 14-37-59
Rebecca Hall
Future enhancements:

1. No Jquery reference .. use outsystems one
2. Add module for replacing links containing empty text
2011-06-15 10-51-22
Joop Stringer
Very simple to avoid external jQuery
Change the expression in this way and it works (replace the $ with osjs)

"<script type=""text/javascript"">
osjs(document).ready(function() {
    osjs("".TableRecords td.fillempty:empty[title]"").text(
          osjs("".TableRecords td.fillempty:empty"").attr(""title"")
    );
 
    osjs("".TableRecords td.fillempty:empty"").text('" + DefaultText + "');
});
</script>"
2018-06-01 14-37-59
Rebecca Hall
Thanks for your help!
2023-05-09 14-34-48
Hugo Catarino
Staff
2011-06-15 10-51-22
Joop Stringer
Hugo Catarino wrote:
Hello You have here an example of  How to integrate a Jquery Plugin in OutSystems Platform
 
 Hugo, you're including external jQuery ... like I already posted on your topic, try to avoid having all kind of versions in your application !
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.