without Archive
-
Html5 websql how to insert xml to local db table without a loop
Posted on April 15, 2012 | No CommentsI have an XML variable which i got from a web server and i want to insert it to a local db table without looping (looping is very slow….) using... -
multiple ajax requests without page refresh
Posted on April 15, 2012 | No Commentsi have an app (struts2+sprin+glassfish3.1.2) that sends an ajax (jquery) requests every second to the server. If certain conditions are met my js redirects me to other page, otherwise i... -
How to reload the page without losing variables value
Posted on April 13, 2012 | No CommentsI have in simulation.jsp the following code, by which I receive some simulation data from struts2 action: $ (document).ready(function() { var data='<s:property escape="false" value="simInfos" />'; } Now I do some... -
Selecting a div without a .Class or #Id
Posted on April 4, 2012 | No CommentsFor some reason, it is much easier for me if it is possible to select all the divs that match a particular set of similar style attributes. Example of div... -
In jquery fullcalendar, can I add a new event without refreshing the whole month?
Posted on April 4, 2012 | No CommentsI am using jquery fullcalendar and it works great. My events come in from a json feed. I have the ability to add a new event (which adds it to... -
alter regex to accept phone number with or without spaces
Posted on April 2, 2012 | No CommentsI have the regex to validate uk phone numbers but it is currently forcing the user to input a space before it will accept the number how do I alter... -
jQuery Convert a string into an object without eval()
Posted on March 30, 2012 | No CommentsI have the following variables: var opday = [], opcategory = [], opbarrio = []; Then I have elsewhere: var myparent = $ me.parent().attr('data-filter-group'); Supposing myparent returns “category”, how can... -
Facebook public data feed without authentication token
Posted on March 29, 2012 | No CommentsI’m looking to get a feed of public status updates for a facebook brand page to put on their website; and wasn’t pleased to find out that FB appear to... -
Replacing c# function bij Jquery not working without knowing how to troubleshoot
Posted on March 28, 2012 | No CommentsI’m trying to replace an ASP.NET (C#) server-sided method by an javascript/Jquery method. I’m fairly new to Jquery but all went well until I began with regular expressions. my code... -
How to parse an empty JSON object without error in $.post callback
Posted on March 24, 2012 | No CommentsIf I return nothing to the following post, I get an AJAX parse error: $ .post('user.php', {id: 'job'}, function(data) { console.log(data.length); },'json'); How can I avoid it? I want to...