Client / Server Anwendung mit Websocket
Websockets Tools und Tests websocket.org – Echo Test
WeiterlesenWebsockets Tools und Tests websocket.org – Echo Test
Weiterlesen
1 2 3 4 5 |
var optionsData = $.map(data, function (obj) { obj.id = obj.keyword_id; obj.text = obj.keyword_value; return obj; }); |
Weiterlesen
1 2 3 4 5 6 7 8 9 10 11 12 |
var li = document.createElement('li'); var a = document.createElement('a'); /*------------------------------------------------------------------ CSS Styles ------------------------------------------------------------------*/ element.style.float = 'left'; element.style.left = '0px'; element.style.top = '0px'; element.style.width = '100px'; element.style.height = '100px'; element.style.backgroundColor = '#cccccc'; |
Weiterlesen
Select Element
Weiterlesen2-way Data Binding in Templates http://peterkaptein.com/work/underscore.html https://peterkaptein.wordpress.com/2013/12/03/2-way-data-binding-with-underscore-and-jquery/
Weiterlesenvar tree = SentenceTree.getInstance(); var inst = $.jstree.reference(data.reference); tree.get_selected(); tree.get_node(nodeid); tree.get_children(node); tree.get_path(id, false, true); // path ids as array tree.delete_node(node); tree.delete_node(node); tree.select_node(node, true, false); // supress_event tree.is_selected(obj) tree.deselect_all(); tree.refresh(true, false) $(this.ele).jstree(true).get_json(‚#‘, {flat:false, no_state:true}); //open Tree.tree.jstree(‚open_node‘, id, function(){ Tree.tree.jstree(’select_node‘, selected_id, true, false); // select_node without event trigger }); // load Tree.tree.jstree(‚load_node‘, id, function(){ //open Tree.tree.jstree(‚open_node‘, id, […]
WeiterlesenJavascript lernen dofactory.com tutorial – javascript advanced objects
Weiterlesen
1 |
$('#iframe').contents().find('html').html("<h1 style='text-align: center;'>hello iframe</h1>"); |
Core Komponenten HeadJS – A tiny script, to simplify, speed up, and modernize your site ! Modernizr – feature detection library for HTML5/CSS3 mathjs.org – An extensive math library for JavaScript and Node.js – momentjs.com – Parse, validate, manipulate, and display dates in JavaScript. amplify – Ajax Request Management, Client Side Browser Storage chroma.js – […]
Weiterlesen