I just read this question: are there dictionaries in javascript like python?  One of the answers said that you can use JavaScript objects like Python dictionaries. Is that true? What is the performance of a key lookup in an object? Is it O(1)? Is a...
Gmail seems to have some clever way of handling the back/forward buttons in a rich JS application.  In my organisation we trialled the jQuery history plugin. The plugin basically runs a function every 100ms which parses the URL and tests if it has ch...
What's the big O for JavaScript's array access when used as a hash?  For example,  var x= []; for(var i=0; i<100000; i++){    x[i.toString()+'a'] = 123; // using string to illustrate x[alpha] } alert(x['9999a']); // linear...
I find myself needing to generate a checksum for a string of data, for consistency purposes.  The broad idea is that the client can regenerate the checksum based on the payload it recieves and thus detect any corruption that took place in transit.  I...
I know there is a Hash() object in the Javascript prototype framework, but is there anything in Jquery like this?  As I would like to stick with one javascript framework, rather than mixing the Prototype Frame work and the JQuery framework and use at...
add a hash to url without scrolling page? with javascript   i open page i scroll down i click link that adds a hash (maybe with a value #test) (example: http://www.example.com/#test) the page MUST not scroll back to the top.   how can this be done?...
This question already has answers here:...
I'm got a custom webview setup which is working pretty well, but I'd like to be able to either:  1, change the url hash without the webview reloading the page (it would lose the state of my js app)  2, call some js that sits within my web pag...
hey guys, quick question, I couldn't find anything useful on the web.  if I have already a hash in my addressbar like e.g. domain.com#whatever and I call...  top.location.hash = "";  the #wathever is transformed into domain.com# without a...
I want to create an HOTP client using javascript similar to SpeakEasy  The above library is intended for server side javascript usage and it uses NodeJS.  I want to do the same thing on front end javascript in a browser but I haven't been able to...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.