jquery

Uploadify Not Working

EDIT: It seems the issue is to do uploadify not having a session, therefore it could not access the page I was sending it to. So make sure you point it to a page with no admin login security ;) This was due to an issue with the url that uploadify was accessing. As it has no session it couldn't retrieve anything. ...

jQuery/Javascript problem with IE

I have two radio buttons each with a unique ID. When one is clicked, I would like to add $10 to a total. When the other is clicked, we go back to the original total price. My jquery looks like this: function check_ceu() { var price = <%= conference_price %>; if($('#ceu_yes').is(':checked')){ $('#total').val(parseF...

Not working for single click..Jquery Grid

$("#table_id").click(function(e) { var row = jQuery(e.target || e.srcElement).parent(); $("#table_id").bind('click', loaddata); name= row.attr("id"); }); loaddata is the funcation I am calling on click on each row.. but this cilck event is working for double click.....

Links in rounded boxes? In ALL browsers (yep included IE8)

I tried maaaany script but every time I get stuck in something bad. My goal is to create rounded boxes for links. You can see an example of I'm talking about here in the read more link (effects not necessary). Very common I know, but I want to make it work in eeeevery browsers at least safari, FF, chrome and most important IE7+ (IE6 not ...

jquery content slider

this content slider works fine in IE8, and i just tested on FF with FireBug 1.5 and could not find why it doesnt work in FireFox... can anyone else find why its not working in FF? https://www.bcidaho.com/about_us/reduce-healthcare-costs.asp ...

jQuery offset combined with jQuery UI doesn't update on drag

I need to get the offset of the element that is being dragged and I use: $(function(){ $(".draggable").draggable({ stop: function(){ var offset = $("#boxone").offset(); alert(offset.left); } }); }); the element is positioned absolute and has a CSS of: left:100px; that is the value ...

$().ajaxStart not firing

I have this at the top of my jQuery script: $().ajaxStart(function() { alert('ok'); }); But the alert is not firing. All the other ajax is working, so I'm not sure why this isn't. ...

How do i make a allocation table?

I have build a grid of div's as playground for some visual experiments. In order to use that grid, i need to know the x and y coordinates of each div. That's why i want to create a table with the X and Y position of each div. X:0 & Y:0 = div:eq(0), X:0 Y:1 = div:eq(1), X:0 Y:2 = div:eq(2), X:0 Y:3 = div:eq(3), X:1 Y:0 = div:eq(4) etc.. ...

Jquery and IE problem!

when pressing the submit button text doesn't update..Not even the loading box does appear on IE... in firefox everything works excellent! $(".form_edit_review").live('submit', function(e){ e.preventDefault(); $submittingForm = $(this); loading("Updating..."); postData = $submittingForm.serialize(); $.post('/revie...

Slickgrid, column with a drop down select list?

Hi I was wondering if anyone knows if it's possible to define a column in slickgrid as being a drop down select list. If not does anyone with some experience with slickgrid know how I should go about adding this option? Thanks ...

jQuery: NewBie Questions, how to call function from another class in jquery ?

I have function getCartItems in cart.js and I want to call that function in another class checkout.js than how can I do this ? ...

My AJAX is only firing once,

Hi There, I ahave some ajax that is fired when a checkbox is clicked, it essentially sends a query string to a PHP script and then returns the relevant HTML, however, if I select a select it works fine if I then slect another checkbox as well as the previous I get no activity what so ever, not even any errors in firebug, it is very cur...

Using jqGrid with ArrayData and using the add, edit and delete buttons

I'm trying to get a basic datagrid for simple tabular input. The server will send the column information and render the corresponding table for the user to input records into and they post it back to the server. I'm trying to get jqGrid to just save the data as ArrayData and not use a database so I've done the following code to test it ...

Troubles with list "dropdowns" and which list item gets the dropdown

I'm working on a project for an MMO "guild" that gives members of the guild randomly generated tasks for the game. They can "block" three tasks from being assigned. The lists will look something like this: <ul> <li class="blocked">Task that is blocked</li> <li class="blocked-open">Click to block a task</li> <li class="block...

Drag and Drop into another div and move in the div only using jquery

Hello, I have a dragable div, I want to be able to drag a div and drop into another div. It should only move inside the, dropped div. Currently I have this code $(document).ready(function(){ $("#move").draggable(); $("#move1").draggable(); $('#contain').droppable({ drop: function(event, ui) { // upda...

jQuery Validate Ignore elements with style

I am using jQuery validate for client side validation and I want to ignore any element that has the style="display: none" $("#myform").validate({ ignore: "?" }); What would my selector be for that in the above case? ...

how to send the value from one tab to other tab

hello friends I am using this code to go to other tab one double click ondblClickRow: function() { var $tabs = $('#tabs').tabs(); var selected = $tabs.tabs('select', 2); }, I am going to second tab on double click, I need to know is there anything way that we can pass the value.. I am...

jquery clickable div

hi, <div class="clickme"> click here </div> I want to make that div clickable and it should trigger following function: <script type="text/javascript"> $(document).ready(function(){ $("#generate").click(function(){ $("#quote p").load("script.php"); }); }); </script> how can I make that work? ...

avoid viewstate when post using jquery

how can i avoid or rather not send viewstate when i post from jquery? i try to put on the .aspx EnableViewState="false" but has no effect... here is how iam posting my page: var json = "{'firstname':'" + escape(firstname.val()) + "','surname':'" + surname.val() + "','day_fi':'" + day_fi.val() + "'}"; var ajaxPage = "wizard_data_proces...

Message box on selection jquey grid row,

HI, I have editable drodownlist box on jquery grid, if I am not selecting the dorpdownlist box item I need to give a mesagebox to the user saying please selcect.. how do I need to do this using jquery? Thanks ...