Questions tagged "jquery" (page No.1)

Calculating relative time

Given a specific DateTime value, how do I display relative time, like 2 hours ago 3 days ago a month ago etc...? ...

javascript issue in sharepoint

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 ...

Best practice to dynamically create and load a thumbnail image menu system

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 ...

how do i find what's going wrong with my code

I have this function for my sql javascript PATH="http://localhost/dhodia/"; try{ var tags=url.replace(PATH,""); var spl=tags.split("/"); ...

Javascript / jquery - site not loading at all in IE7 and Google Adsense not loading at all in IE8

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, ...

closeAfterEdit not working after editing the form jqGrid

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 ...

php.js serialize function breaking on entity characters - UTF8 cause?

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 ...

JQuery's $.post sometimes work sometimes return 403 forbidden error

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: ...

Get the id's of previous and next projects only if they don't contain ".isotope-hidden"

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 && ...

Find a checkbox in table and disable button in same row diferent column

I have this table <table> <tr> <th> Column1 ...

jquery ajax with asp.net not working

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 ...

jQuery.ajax: How do I get the data to send easily?

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"), ...

Runaway script?

My javascript is set up like - function UpdateLevelRemove() { //Do something var ajaxCall = $.ajax({ data: { Svc: cntnrRoot, Cmd: 'updateLEvel', updatePrivacyAction: 'Remove' }, ...

Is it possible to get info from a file on the client side without uploading the file?

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 to lightbox upon clicking on next button

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/ ...

Simplemodal checkboxes and input fields

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 ...

How do I ask jQuery to look at the value of multiple ID's

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 ...

impromptu isnt closing dialog when close method called inside function

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", ...

Jquery/PunBB Replace Number with String

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}<!-- ...

« Previous12345678910 ... 1041610417Next »Show All