Given a specific DateTime value, how do I display relative time, like 2 hours ago 3 days ago a month ago etc...? ...
I am having issues making a javascript work. Basically i just use this script for different web parts which have the .q1table class to insert some other classes. I am getting an error uncaught type error Property $ of object[object window] is not a function.This works fine when the page is ...
I want to know best practice to dynamically create and load a thumbnail image menu system. I am creating a site for sharing photographs and I want the gallery menus to generate themselves. The menus will use thumbnail images of the original that will be pre-created and placed in their ...
I have this function for my sql javascript PATH="http://localhost/dhodia/"; try{ var tags=url.replace(PATH,""); var spl=tags.split("/"); ...
For some reason the following site is not loading at all in IE7 and the Google AdSense are not loading at all in IE8. The site loads fine in all browsers otherwise, including IE9, Firefox, Chrome. The site url is: http://www.dog-health-guide.org Using the F12 Developer tools console in IE, ...
I am using jqgrid and the only issue is Edit form is not closed after editing, whereas Add form and Delete form are closed and reloaded properly. I think I am giving the options order incorrectly but I tried different permutations but no luck. Can anyone give a look at ...
OK, on my commerce platform, shopping cart data is stored as a serialized array in the session. An issue popped up today where one of the item's size options had special characters for 1/4 and 1/2 sizes, eg; 7¼, 7½ etc., However when viewing the order that a customer placed ...
Sometimes I get a 403 forbidden error, I can't see what's wrong. Here is my jQuery code: $.ajax({ type: 'POST', url: './ajax-conf-editc.php', data: { conf_id: Id, conf_contenido: ...
Im struggling to build a proper project filter with jquery isotope. I only want to get the id's of previous and next projects if they are not hidden by the 'isotope-hidden' class. How can I do this? // Get the id's of previous and next projects if ( $prev.length !== 0 && ...
I have this table <table> <tr> <th> Column1 ...
I'm about to pull out any remaining hair that I have, so please help me out if you know what the problem might be... Thanks. All my googling and searching has not paid off either. First, I'm using jquery-1.7.2.min.js and ASP.net 2.0 web form. I'm trying to make an ajax call using jquery ...
I have lots of forms on a project I'm working on. All the forms pretty much go through AJAX. $.ajax({ type: "GET", cache: false, url: $(this).attr("action"), ...
My javascript is set up like - function UpdateLevelRemove() { //Do something var ajaxCall = $.ajax({ data: { Svc: cntnrRoot, Cmd: 'updateLEvel', updatePrivacyAction: 'Remove' }, ...
I am allowing my users to upload mp3 files just so I can read the metadata and extract the Song Title and Singer Name. At the moment I am uploading the file and using getId to read the meta data. The upload of course takes a lot of resources ...
How do i lightbox or change background color upon clicking on next or previous button inside a slider, similar to show Mashable does : http://mashable.com/2012/07/31/outlook-hotmail-review/ ...
I have a question, actually two, concerning eric martins simple modal. What I try to do is that when somebody clicks a button the modal pop up and shows the different variants of that particularly product. This are checkboxes, so you can choose a color "green" red etc. Not just ...
This is somewhat of a continuation of an earlier question. I have figured out how to use a selector to point to a specific ID and look for a value="", and then fill that with a red background... i.e. - $('[id^="f04"][value=""]').css('background-color', 'red') What I need to do now is build ...
I am stuck for 4 hours with such code: $.loader = function (msg) { jQuery.prompt.close(); $.prompt(msg, { buttons: { }, show: 'fadeIn', promptspeed: 50, overlayspeed: 'fast' }); } function my_function() { jQuery.prompt.close(); $.loader('saving..'); $.ajax({ type: "POST", ...
Using PunBB on Forumotion the idea was to use the Points system to replace the number of points displayed with a string of text. Using a span class I first defined a class 'honorpoints' around the code that shows the number of points a user has. <span class="honorpoints"><!-- BEGIN profile_field -->{postrow.displayed.profile_field.CONTENT}<!-- ...