I'm a bit stumped...
I have to integrate an existing, simple asp.net web forms app including postbacks etc. into another external site with a jquery load() call., an app that was intended to be integrated through an iframe. I doubt that's possible without a rewrite of the app.
The app is a basic questionnaire that leads the user to a p...
How can i get the :hover in css stylesheet on the fly with jquery?
stupid example:
a.foo {
color: red;
font-size: 11px;
}
a.foo:hover {
color: blue;
font-size: 12px;
}
how to retrieve that color and font-size before that mouse will go over the anchor?
...
I have the following snippet of Javascript, which is just attaching an onclick to a button and then updating the text of an em tag underneath it. I'm slowly trying to educate myself and work with jQuery more as I've found to like the syntax a lot more and for some tasks, it's more of a pleasure to work with.
Some of the best examples I...
With jQuery I'm retrieving positions of a sortable list using 'serialize', like this:
var order = $('ul').sortable('serialize');
The variable 'order' then receives the following:
id[]=2&id[]=3&id[]=1&id[]=4&id[]=5
Now how can I use this data in an ajax call?
This is how I plan to do it, but it's ugly and I can't change the parameter...
I have before created a quick Ajax Framework for one of my projects. It was an ASP.Net Website (C#). There was not a lot of Ajax type functions so I just made a new Page with nothing in it and in the code behind file I put some code in the Page_Load method which would look for an action in the request and then call the appropriate method...
<select class="FunctieSelect">
<option class="yellow" value="-1">- kies -</option>
<option class="yellow" value="1">KSZ functie</option>
<option class="yellow" value="2">Bakker</option>
<option class="yellow" value="3">Schilder</option>
<option class="yellow" value="4">Andere</option>
</select>
with
.yellow
{
background-color: Yel...
Hi all,
I have a number of pages that each have 3 or 4 user controls on. each control has their own updatepanel in.
I am using JQuery and thickbox to create a modal window, where I open another aspx page and change some of the data.
What I want to do is to be able to refresh some or all of the update panels / content on the page when ...
I'd like to create a simple action link in ASP.Net MVC RC2 using jQuery 1.3.1 - something like this:
<a href="#" onclick="AjaxTest1()">Tester</a>
with the AjaxTest1 function:
function AjaxTest1() {
$.ajax({
url: "Home/Ajax1",
error: function(request, status, error) {
...
I took over a small web application. I am learning JQuery so I like to rewrite the current java script with JQuery. Here is what I have
1. the xml file as following
<courses>
<course title="math">
<time>1:00pm</time>
<time>3:00pm</time>
</course>
<course title="physic">
<time>1:00pm</time>
<...
Hi,
I am proper struggling getting that "magic" moment when WCF is configured nicely and jQuery is structuring its requests/understanding responses nicely.
I have a service:
<%@ ServiceHost Language="C#" Debug="true" Service="xxx.yyy.WCF.Data.ClientBroker" Factory="System.ServiceModel.Activation.WebScriptServiceHostFactory" %>
Thi...
Will execute in order 'first, second'. I need last as first executed.
function first(){ alert('first') }
function second(){ alert('second') }
$('input').click(first).click(second);
...
I'm writing a Ruby on Rails app. The following jQuery code is included in the head tag of the index.html.erb file, which is the template for all pages on the site.
<script>
$(document).ready(function() {
$("#select_mailshot").click(function () {
alert('mailshot');
document.location.href = "/products/1";
});
$("...
Hi,
Hopefully this is an easy one but I have not found a solution. I want to put space between columns on a table.
Example
| Cell |<- space ->| Cell |<- space ->| Cell |
An important point is that I do not want space on the edges. There is a border-spacing property but it is not supported in IE (6 or 7) so that is no good. It also...
I have a table with 14 table row and 3 column of data
i like to select the table, each row only the value of the #3 column
how do i count, i know the fisrt selector, the child... but how to not net
$('#tableofdata tr td).getmethethird
...
I cannot really tell more
I have a table
1-joe-234
2-bob-432
3-sean-654
i like to take it and get a bar graph with it
Not that there is no lib on the net, but is prototype or flash xml file
--
the solution i am working on, is a jquery plugin that will generate a html link for google chart... not pretty but KISS (really simple) and...
I'm running into a problem with axis2 and ajax. I'm getting xml from one of my web services with jQuery's ajax functions, and using this jquery plugin to transform the result xml to html.
Here's an example of the relevant xml that the service returns.
<ns:getPatientsByDoctorResponse>
<ns:return type="com.emolst.jdbc.PatientBean">
...
I am a good javascript/asp.net developer, but i am just starting to learn JQuery,
Whats the best book to learn JQuery?
Books i like their style:
Complete reference
How to program
...
I'm doing:
alert($("#div").text());
on something like this:
<div id="div">
<div>
Some text
<div>
</div>
Why the escaped content? Because it is sometimes malformed and I don't want it interfering with or breaking the rest of the document.
In FF it shows up preserving newlines. In IE7 it doesn't. I need to preserve th...
When using the jQueryUI samples on the website (theme browser) things look great. But, when I put the code and theme into my application, the sizing is way out of whack (I'm trying to utilize the Redmond theme).
Any ideas as to why these samples look so different? In the application I've built, there is only 1 CSS reference which is f...
Hello.
I am not entirely sure if this is possible or not but so far you guys here at SO were always able to help me out so here it goes:
The following website: www.bgarchitect.co.nz
Has a navigation that works fine on the main page but (due to me making a mistake) does not work on the sub pages as it relies on images being loaded and ...