I need to translated the following JQuery code to Dart:
I ‘ve tried the following but didn’t succeed:
var jquery = new JsObject(context['window.jQuery("#writepad")']); jquery.callMethod('jqte');
I’m trying this hoping that it may stop jqte from displaying dynamically generated buttons twice. Your help is highly appreciated. Thank you.
With dart:js :
context can be seen as an alias for js
Answered By – Alexandre Ardhuin
Answer Checked By – Robin (FlutterFixes Admin)