protected function SetJSHtml($element, $html)
    {
        $jsElement = Str::ToJavascript($element, false);
        $jsHtml = Str::ToJavascript($html, false);
        echo "<script>$($jsElement).html($jsHtml);</script>";
    }
protected function SetJSHtml($element, $html)
    {
        $jsElement = Str::ToJavascript($element, false);
        $jsHtml = Str::ToJavascript($html, false);
        echo "<script>$($jsElement).html($jsHtml);</script>";
    }
protected function SetJSHtml ( $ element , $ html ) { $ jsElement = Str :: ToJavascript ( $ element , false ) ; $ jsHtml = Str :: ToJavascript ( $ html , false ) ; echo "<script>$($jsElement).html($jsHtml);</script>" ; }
Sets element html content as a typical action of a modal form call
@param string $element The element specifier; typically starting with '#'
@param string $html The html string
Sets element html content as a typical action of a modal form call