Category Archives: jQuery

Ajax for JSON

 

Submit form using Jquery Form Plugin (ajaxform)

Javascript Example:

Plugin Official Site:

http://malsup.com/jquery/form/#ajaxForm

jquery plugin: fancytree tree view

  1. https://github.com/mar10/fancytree
  2. https://github.com/mar10/fancytree/wiki/TutorialExtensions
  3. http://wwwendt.de/tech/fancytree/demo/#sample-3rd-jQuery-contextMenu.html
    實作網站: 三國, topeak

jquery-ui-contextmenu

https://github.com/mar10/jquery-ui-contextmenu

You can use icons in your framework or theme.

public\assets\admin\css\styles.min.css

Ajax (Model)

Reference:

Enter to submit a form (or trigger a button)

If user press enter in a form which has  a button with type “submit”, the form will be submitted automatically.

Prevent submitting form by pressing enter:

Add keypress event listener

 

serialize form

 

API Control Vimeo videos (play and mute) with Flex slider

Plugin: https://github.com/tanepiper/vimeo-froogaloop2/tree/master/javascript