I have an ASP.Net MVC application. I am trying to post data to an action, and then just render the output. I have a page where you can view a product, so www.mysite.com/product/details/1 shows the product. On this page, I render a partial view through RenderAction() that contains some pricing logic. I want the user to select some options...
i'm building a portlet style site with tabs using jquery 1.4.2, and jquery ui 1.8.2. the portlets were easy to get working with the sortable plugin. tabs were easy as well. the problem i'm having is in trying to drag portlets BETWEEN tabs. since the same containers that the portlets are sortable to (columns) are present in all tabs, ...
I'm developing sites using Wordpress and I want to use the lates version of jQuery.
To make sure I use the lates version, I have found this piece of code from Binary Bonsai's example.
What I see, is that he actually links to jQuery at Google API.
So my question is, what is better.
To link to jQuery on an external page?
http://ajax.go...
This is hopefully my last question, for today :P.
I have 10 .photo divs with different image each one. html code bellow:
<div class="photo"><!-- Start Photo -->
<div class="transparency"></div>
<div class="performer"><p><? echo $perf; ?></p></div>
<a href="<?php the_permalink(); ?>" class="jquery" rel="<? echo ''.$perf.''; ?>">...
How do you check in JS what the value of the td above the current one is in a table? I'm trying to get a table like this:
|column1 | column2 | column3 | column4 |
----------------------------------------
| | | | |
----------------------------------------
| | | data | |
----------...
Hi all,
certain page (product page) on my website causes IE8 to hide behind other maximized windows. Please have a look at http://www.eggheadstaging2.co.uk/Tulips/Flowers/Tulip-Sensation.aspx. There is some jquery which I suspect is the problem in combination with IE.
Any help appreciated!
...
Hello all,
I'd the foll. requirement for one of my web applications:
In my HTML table, some of the columns require user input as textfields.
Next to the text field, I wanted to have a radio button on each row which populates rows meeting certain criteria in my table.
Here's my code
<td> <input type="text" id="newContact<%=rCo...
Hello,
Based on: http://stackoverflow.com/questions/446594/kill-ajax-requests-using-javascript-using-jquery... In inventory_search() - before the ajax request is made, how can I check for any current requests and abort() them before making a new request? Or... Is there a better way to do this?
<script type="text/javascript">
$(fu...
I am working with some simple jQuery to add onfocus/onblur events to a generated form. The following code works in other browsers, except IE7/8:
$(document).ready(function(){
$("input#edit-submitted-first-name").attr('onfocus', "if(this.value=='First Name') this.value = ''");
$("input#edit-submitted-first-name").attr('onblur', "if...
I'd simply like not to have a JQuery based HTML editor that use <b>, <i>, <font> and all those deprecated tags. Can you help me please?
...
Is there any easy way to abandon all outstanding jQuery AJAX requests? My application is capable of pulling off a lot of simultaneous requests, so race becomes problematic. I've put in hackish solutions (namely, putting in a flag that is checked upon request completion), but it would be much nicer to get a global stop all outstanding req...
$('#foo').live('keyup', function (e) {
var input = $(this).val();
// code to process input
});
This is used in a post form and I need to run the code inside the live() when the document is ready. Is there a way, other than to wait for a key press, to invoke it?
...
I've followed the tutorial on jQuery for Designers about how to create a slider similar to Coda.
Anyway, it worked first time and is great apart from one thing. The position of the last panel always seems to be in the wrong place. Here is the code that I'm using (this is a local WordPress installation by the way, so I can't show you an ...
This question occurred to me after a user named patrick pointed out an error in an answer I'd given earlier today.
Given the following html:
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
<script type="text/javascript">
$(function(){ ...
I have alot of:
<li><a href="google.com">LINKY</a></li>
type links on my site and much prefere the whole Li to be clickable instead of just the text. So was thinking of applying some nice jquery that will hunt any $('li a') down and make it so when you click the <li> it will trigger the click on a <a>
$('li a').each(function...
how do i save checkbox state through sessions? i'm using this jquery code to toggle the options:
$('div.check input:checkbox').bind('change',function(){
$('#'+this.id+'txt').toggle($(this).is(':checked'));
});
but when i reload, the checkboxes are back to their default state. i know i'd have to use sessions, but how do i make the ...
I am parsing youtube video feed in AIR app .
Using jquery to parse it.
$(feed).find("entry").each(function()
{
var tit = $(this).find('title');
alert(tit.text());
}
It seems like after parsing category(category tag is closed a different way) it fails to parse rest of the doc.The above code successfully alerts t...
I'm working to create a jQTouch prototype and would like to use Image Maps, example:
<img src="planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap" />
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun" />
<area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury" />
...
Hello,
I am using a JQuery dialog field. If it is open, I want to do one thing. If it is closed, I want to do another. My question is, how do I detect if a JQuery dialog box is open or not?
Thank you,
...
I need to store the user preferences in a cookie.
I have three multiple select drop downs & date.
User is allowed to select all the values in dropdowns.
If I store all the unique (8 characters) values in a cookie, then it will get overloaded. I need a mechanism to do some mapping so that minimal value is stored in cookie.
My require...