jquery Programming Glossary: ci
Local form editing demo and jqGrid 4.4.1 http://stackoverflow.com/questions/12281463/local-form-editing-demo-and-jqgrid-4-4-1 ' editurl 'clientArray' ondblClickRow function rowid ri ci var this this p this.p if p.selrow rowid prevent the row from..
Nested ordered lists http://stackoverflow.com/questions/1852816/nested-ordered-lists ol .each function i el this .children .each function ci cel this .prepend ' span class pseudo num ' i 1 ci 1 .join '.'.. ci cel this .prepend ' span class pseudo num ' i 1 ci 1 .join '.' ' span ' .addClass 'pseudo processed' And in your.. 'pseudo processed' You could then call it on a specific #id #list .outline Or use @Gumbo's nice selector to apply..
jqGrid - edit only certain rows for an editable column http://stackoverflow.com/questions/2863874/jqgrid-edit-only-certain-rows-for-an-editable-column jQuery '#list' .jqGrid ... ondblClickRow function id ri ci if isRowEditable id edit the row and save it on press enter..
JQGrid Redrawing is slow http://stackoverflow.com/questions/3530143/jqgrid-redrawing-is-slow definitely the drawing of the grid on screen. I'd appreciated any and all help or suggestions for improved performance... .addClass 'jstree draggable' ondblClickRow function id ri ci lastSelRow id #tblVariables .jqGrid 'editRow' id true onSelectRow..
jqgrid incorrect select drop down option values in edit box http://stackoverflow.com/questions/4469650/jqgrid-incorrect-select-drop-down-option-values-in-edit-box example the usage of value parameter to have no dependencies to the server components. The most parts on the implementation.. lastSel lastSel id ondblClickRow function id ri ci if id id lastSel grid.restoreRow lastSel lastSel id resetStatesValues..
CodeIgniter and Javascript/Jquery Library http://stackoverflow.com/questions/5051059/codeigniter-and-javascript-jquery-library config.php config 'javascript_location' 'http localhost ci assets js jquery ' After that I open the view file and put in..
jqGrid Column Group http://stackoverflow.com/questions/7341339/jqgrid-column-group time before. Now after reading of your question I do decided don't make a perfect solution supporting all jqGrid features.. which is too difficult at once . Instead of that I decide to create a solution which can be already used in many cases.. function th var i headers ts.grid.headers ci .jgrid.getCellIndex th for i 0 i headers.length i if th headers..
If there is a javascript error on the page, does google map not load? http://stackoverflow.com/questions/9095401/if-there-is-a-javascript-error-on-the-page-does-google-map-not-load the Google Maps API. I get the Google Map by map this ci gis draw_map_position_by_lat_long this ci profile_data 'LocLat'.. Map by map this ci gis draw_map_position_by_lat_long this ci profile_data 'LocLat' this ci profile_data 'LocLong' this ci.. this ci profile_data 'LocLat' this ci profile_data 'LocLong' this ci widgets 'map' map Function public..
Problems implementing TinyMCE in CodeIgniter http://stackoverflow.com/questions/11128740/problems-implementing-tinymce-in-codeigniter it from a controller. I have uploaded all files into my CI project folder and showed the path of the files. But it is not..
CodeIgniter and Javascript/Jquery Library http://stackoverflow.com/questions/5051059/codeigniter-and-javascript-jquery-library figure out how to use javascript and jquery libraries on CI. Following instruction in the docs I load the library in my..
Save data using AJAX and CakePHP http://stackoverflow.com/questions/6285006/save-data-using-ajax-and-cakephp passing the id s of the newly inserted records to the CI application to trigger it's processing. Whew Anyway HTH. share..
create jquery pagination? http://stackoverflow.com/questions/7056223/create-jquery-pagination CodeIgniter AJAX Pagination Example Guideline . People on CI forum suggest using a solution from TOHIN's blog but I can't..
Codeigniter session bugging out with ajax calls http://stackoverflow.com/questions/7980193/codeigniter-session-bugging-out-with-ajax-calls cookies share improve this question Try this php CI Session Class Extension for AJAX calls. Save as application.. libraries MY_Session.php class MY_Session extends CI_Session sess_update Do not update an existing session.. @access public @return void public function sess_update CI get_instance if CI input is_ajax_request parent sess_update..
Local form editing demo and jqGrid 4.4.1 http://stackoverflow.com/questions/12281463/local-form-editing-demo-and-jqgrid-4-4-1 caption 'How to implement local form editing' height '100 ' editurl 'clientArray' ondblClickRow function rowid ri ci var this this p this.p if p.selrow rowid prevent the row from be unselected on double click the implementation is for..
Nested ordered lists http://stackoverflow.com/questions/1852816/nested-ordered-lists question If you want to do it cross browser with jQuery ol#list ol .each function i el this .children .each function ci cel this .prepend ' span class pseudo num ' i 1 ci 1 .join '.' ' span ' .addClass 'pseudo processed' And in your CSS ol.. jQuery ol#list ol .each function i el this .children .each function ci cel this .prepend ' span class pseudo num ' i 1 ci 1 .join '.' ' span ' .addClass 'pseudo processed' And in your CSS ol .pseudo num display none ol.pseudo processed list style.. .fn.outline.defaults numberClass 'pseudo num' processedClass 'pseudo processed' You could then call it on a specific #id #list .outline Or use @Gumbo's nice selector to apply it to all ol tags on one page ol not li ol .outline And you..
jqGrid - edit only certain rows for an editable column http://stackoverflow.com/questions/2863874/jqgrid-edit-only-certain-rows-for-an-editable-column function id implement your criteria here return true var grid jQuery '#list' .jqGrid ... ondblClickRow function id ri ci if isRowEditable id edit the row and save it on press enter key grid.jqGrid 'editRow' id true onSelectRow function id..
JQGrid Redrawing is slow http://stackoverflow.com/questions/3530143/jqgrid-redrawing-is-slow javascript and html and these speeds were really fast so it's definitely the drawing of the grid on screen. I'd appreciated any and all help or suggestions for improved performance. I'll attach my grid definition it is quite big in case you.. 19 afterInsertRow function rowid rowdata rowelem # rowid .addClass 'jstree draggable' ondblClickRow function id ri ci lastSelRow id #tblVariables .jqGrid 'editRow' id true onSelectRow function id if '#QuestionTree' .find #FQ id .attr..
jqgrid incorrect select drop down option values in edit box http://stackoverflow.com/questions/4469650/jqgrid-incorrect-select-drop-down-option-values-in-edit-box AJAX request from the database. I describe the solution on the example the usage of value parameter to have no dependencies to the server components. The most parts on the implementation are the same in case of the usage of dataUrl and buildSelect.. if id id lastSel if lastSel 1 resetStatesValues grid.restoreRow lastSel lastSel id ondblClickRow function id ri ci if id id lastSel grid.restoreRow lastSel lastSel id resetStatesValues grid.editRow id true null null 'clientArray' null..
CodeIgniter and Javascript/Jquery Library http://stackoverflow.com/questions/5051059/codeigniter-and-javascript-jquery-library I define the location of the jQuery file jquery.min.js in the config.php config 'javascript_location' 'http localhost ci assets js jquery ' After that I open the view file and put in these two lines php echo library_src php echo script_head..
jqGrid Column Group http://stackoverflow.com/questions/7341339/jqgrid-column-group stackoverflow. I give another answer on the close question some time before. Now after reading of your question I do decided don't make a perfect solution supporting all jqGrid features which is too difficult at once . Instead of that I decide.. don't make a perfect solution supporting all jqGrid features which is too difficult at once . Instead of that I decide to create a solution which can be already used in many cases but which has some restrictions. The demo shows my first.. getColumnHeaderIndex function as the following var getColumnHeaderIndex function th var i headers ts.grid.headers ci .jgrid.getCellIndex th for i 0 i headers.length i if th headers i .el ci i break return ci and changed the lines 2172..
If there is a javascript error on the page, does google map not load? http://stackoverflow.com/questions/9095401/if-there-is-a-javascript-error-on-the-page-does-google-map-not-load error on the page does google map not load I am using the Google Maps API. I get the Google Map by map this ci gis draw_map_position_by_lat_long this ci profile_data 'LocLat' this ci profile_data 'LocLong' this ci widgets 'map' map.. not load I am using the Google Maps API. I get the Google Map by map this ci gis draw_map_position_by_lat_long this ci profile_data 'LocLat' this ci profile_data 'LocLong' this ci widgets 'map' map Function public function draw_map_position_by_lat_long.. Maps API. I get the Google Map by map this ci gis draw_map_position_by_lat_long this ci profile_data 'LocLat' this ci profile_data 'LocLong' this ci widgets 'map' map Function public function draw_map_position_by_lat_long lat NULL long NULL..
Problems implementing TinyMCE in CodeIgniter http://stackoverflow.com/questions/11128740/problems-implementing-tinymce-in-codeigniter TinyMCE in CodeIgniter. I've created a view file and called it from a controller. I have uploaded all files into my CI project folder and showed the path of the files. But it is not working. Here is the view file DOCTYPE html PUBLIC W3C DTD..
CodeIgniter and Javascript/Jquery Library http://stackoverflow.com/questions/5051059/codeigniter-and-javascript-jquery-library and Javascript Jquery Library As title said I'm trying to figure out how to use javascript and jquery libraries on CI. Following instruction in the docs I load the library in my controller this load library 'javascript' Then I define the..
Save data using AJAX and CakePHP http://stackoverflow.com/questions/6285006/save-data-using-ajax-and-cakephp
create jquery pagination? http://stackoverflow.com/questions/7056223/create-jquery-pagination CodeIgniter . I've read some posts on CodeIgniter forum and CodeIgniter AJAX Pagination Example Guideline . People on CI forum suggest using a solution from TOHIN's blog but I can't understand how it could be done. Could someone give me an example..
Codeigniter session bugging out with ajax calls http://stackoverflow.com/questions/7980193/codeigniter-session-bugging-out-with-ajax-calls cookies were never updated. jquery ajax codeigniter session cookies share improve this question Try this php CI Session Class Extension for AJAX calls. Save as application libraries MY_Session.php class MY_Session extends CI_Session.. CI Session Class Extension for AJAX calls. Save as application libraries MY_Session.php class MY_Session extends CI_Session sess_update Do not update an existing session on ajax or xajax calls @access public @return void public.. Do not update an existing session on ajax or xajax calls @access public @return void public function sess_update CI get_instance if CI input is_ajax_request parent sess_update End of file MY_Session.php Location . application libraries..
|