All Questions

by jaydeep | 24/01/17 | 2 Answers | Tags : PHP , array , index , webpage Views : 2212
how can i print next index of array by each webpage request . let me show you what i have now it print all but i need to print only one value of array which is next index of array by each page call so suppose if i load web page first time it should print first call , than in second time it should print second call so on... hope you get the my question

Read more

by pratik | 24/01/17 | 1 Answers | Tags : PHP , MySQL , CKeditor Views : 3622
How to display data in ckeditor from mysql in PHP

Read more

by ajamil | 24/01/17 | 1 Answers | Tags : database-indexing , MongoDB , GroupBy , database Views : 1063
how to GroupBy multiple columns in MongoDB ?

Read more

by ajamil | 24/01/17 | 1 Answers | Tags : readFile , C# Views : 862
how to read binary from a text file and turning them into buttons c#

Read more

by ajamil | 24/01/17 | 1 Answers | Tags : Java , threadSafe , SplittableRandom Views : 1283
Is Java SplittableRandom.split() threadsafe?

Read more

by ajamil | 24/01/17 | 1 Answers | Tags : Android , app-development , mobile-app , action-bar , menu Views : 1034
How to display menu item in action bar in android ?

Read more

by samir | 23/01/17 | 1 Answers | Tags : Javascript , node.js , uncache , module Views : 1262
how to uncache a node.js module ?

Read more

by sandee | 23/01/17 | 3 Answers | Tags : Debug , css , JS , cache , uncached Views : 1575
How to force Browser to load fresh copy of CSS/JS files ? i am debugging with web application which have use cache module , when i do some change in CSS or JS , It Always load cached version of it so i always need to go back end each time and remove cache and try again to load my change. so it is very time consuming to debug with cached application so is there any hack i can do which help me to debug with cached application so it load my changes on CSS and JS ? How can I force Browser to refresh JavaScript/ CSS files?

Read more

by sandee | 23/01/17 | 1 Answers | Tags : jQuery , Javascript , Window.load , document.ready Views : 1093
what is the difference between window.onload (JavaScript) and $(document).ready() (jQuery) ? is there $(document).ready() is that extended version of window.load ? which is one better to use when we need some action in JavaScript after page loading.

Read more

by lain | 20/01/17 | 1 Answers | Tags : PHP , each , foreach , loop , iteration Views : 7689
difference between foreach and each in PHP ? both should be use for iteration . is each and foreach is identical ? if not identical as respect to functionality than what is difference between each and foreach in PHP ? is each / foreach iterate same way ? each vs foreach , pros and cons of each and foreach in PHP

Read more

by lain | 20/01/17 | 1 Answers | Tags : PHP , array , String Views : 1414
suppose i have array contained strings and i want to find max length string from array of strings in PHP is there function which return me string which have max length in array at PHP .

Read more

by jaydeep | 20/01/17 | 2 Answers | Tags : jQuery , Javascript Views : 1524
what are the other alternative of element selection at html Dom in JavaScript except $("#id") or $(".class") i know that i can use id and class in jQuery to select by $("#id") or $(".classname") and make it operation on it like show or hide or change css etc.. but i want do it in pure JavaScript why i am not using the jQuery . its only because i just need selector for hide a div for onload nothing more so its not good to use for just jQuery . it can be done also in pure JavaScript

Read more

by jaydeep | 19/01/17 | 3 Answers | Tags : Javascript , node.js , readFile , readFileSync Views : 3172
why readFile return buffer in Node JS ? what i got at console is <Buffer 30 09 5f 64 65 62 75 67 5f 61 67 65 6e 74 26 31 09 5f 64 65 62 75 67 67 65 72 26 32 09 5f 68 74 74 70 5f 61 67 65 6e 74 26 33 09 5f 68 74 74 70 5f 63 ... > it says i am buffer . and it should be file content get same with readFileSync var file=fs.readFileSync(filePath); i got again buffer , so what is the issue with readFile and readFileSync ? why readFile and readFileSync return buffer instead content ?

Read more

by web-api | 18/01/17 | 2 Answers | Tags : Javascript , JS , apply Views : 1395
what use of apply() method in JavaScript ? myArray.apply('a') means it append to myArray or what ? or apply() method means apply logic for all array value ?

Read more

by web-api | 18/01/17 | 1 Answers | Tags : Javascript , JS , Spread-Operator Views : 1112
what is use of spread operator in JavaScript ? how one can use spread operator ? what meaning of ... (spread operator ) , what spread operation does in above code ?

Read more

by web-api | 18/01/17 | 2 Answers | Tags : Javascript , JS , setInterval , setTimeout Views : 2524
difference between setInterval and setTimeout in JavaScript ? pros and cons of setInterval and setTimeout over each other ? which one is best to use or more useful in between setInterval and setTimeout ?

Read more

by jaydeep | 18/01/17 | 2 Answers | Tags : node.js , JS , Modules Views : 1322
How to get installed module list in Node JS ?

Read more

by jaydeep | 18/01/17 | 3 Answers | Tags : Javascript , async , call Views : 1414
what is async call in JavaScript ? is it means it call is not synchronized , is that so ? how can be implemented with JavaScript ?

Read more

by noob | 17/01/17 | 1 Answers | Tags : Javascript , difference , node.js , JS Views : 1336
what is plus in Node JS over JavaScript ? because as i learn Node.js and i see that it work same as JavaScript . Node JS also run JavaScript . so why one made Node JS ? what is pros and cons of Node JS over JavaScript ?

Read more

by noob | 17/01/17 | 1 Answers | Tags : Javascript , css , Cross-Browser Views : 1059
why all browser behave differently for same code ? not most of code but sometime it annoying that some code running well in one browser ex. Mozilla Firefox , not work as it should be at IE(Internet Explorer). IE(Internet Explorer) have most issue with JavaScript or CSS even browser version also another headache . A JavaScript work with IE 10 , possibly not work with IE 8 , so one need to do extra code so it work with both. what is the reason all browser don not have same api for JavaScript or Css ? as a web developer we doing so much for Cross Browser compatibility , so its my right to know who cause it ? is it browser coded so or anything else ?

Read more