/* * Created by PyramIDE. * User: フランスのトトロ aka (David RENÉ) * Date: 11/07/2021 * Time: 00:21 * © David RENÉ */ read tools/string.anubis public define String watch_options ( String target_id, //id of the target to insert the result String ajax_url, // Int wait, ) = "{ callback: function(value) {Xlib.load_content('"+target_id+"', "+ajax_url+")}, wait:"+wait+", highlight: true, allowSubmit: false, captureLength: 0 }" . public define String init_watcher ( String element, String target_id, String ajax_url, )= "$('#"+element+"').typeWatch("+watch_options(target_id, ajax_url, 750)+");" .