I was wondering how I might search out any text in a document and wrap it in a link structure using jQuery.
For example - Search the whole document for the text 'target heart rate' and transform it into
<a href="jvscrt:popup('heartrate.cfm')">target heart rate</a>
Any ideas?
thanks!
Chris
...
I have a nested jquery modals Modal1 & modal2 both contain updatePanels. To update the panels I am using javascript:
var prm = Sys.WebForms.PageRequestManager.getInstance();
prm._doPostBack('UpDateLookUp','');
UpDateLookUp is the id of the updatePanel for modal1. Modal1 contains the link, which is in the updatePanel, for modal2. Modal...
Hi friends, ok, I'm back. I totally simplified my problem to just three simple fields and I'm still stuck on the same line using the addJSONData method. I've been stuck on this for days and no matter how I rework the ajax call, the json string, blah blah blah...I can NOT get this to work! I can't even get it to work as a function when a...
I'm trying to build or implement a headline/image rotator. The user will click on a number (1, 2, 3) and an image will fade out/fade in as well as make a headline change(some text in a span element) based on the number selected.
Is there a plugin existing that will do this? If not, what would be the best way to accomplish this using j...
<div>select this<strong>dfdfdf</strong></div>
<div><span>something</span>select this<strong>dfdfdf</strong></div>
how do i use jquery or just javascript to select the value of the div tag but not include any child elements
//output
select this
...
I'm successfully using jeditable to submit via a function using
jQuery.ajax and the async : false option , but am having an issue
aborting if an error is returned.
How can I get the edit box to stay activated and / or revert back to
the original value if there are errors? I'm returning http status
codes.
so something like
async : fals...
I have some html that looks like this:
<a href="#" class="move"><span class="text">add</span><span class="icon-arrow"></span></a>
And I have a jquery event registered on the anchor tag:
$('a.move').hover(
function (event) {
$(this).children('span.text').toggle();
$(this).animate({right: '5px'}, 'fast');
},
...
I'm trying to perform and AJAX query from within a grease monkey script, but I'm stuck with not being able to load data from a remote url. The script only seems to function if the page being viewed is the same domain as the AJAX call. Example:
// ==UserScript==
// @name Hello jQuery
// @namespace http://www.example.com/
// ...
Is it possible to preload all page contents (like showing a loading bar / animated gif.. or loading text.. ) until the contents are fully loaded and then displayed to the user/visitor ? If this is possible, can you give me just directions or resources to follow to achieve this. Because I was able to find image preloaders easily, but I am...
Hey Everyone..
I have a web service that returns me a JSON object that contains the string "Hello World". How do I pull this string out of the object?
data = [object Object]
Thanks
Nick
...
Please look at http://www.idea-palette.com
I have multiple pages that are being faded in using the top nav. When the user clicks on any of the above buttons to fade in another page that contains the Slideshow using the jQuery Cycle Plugin, IE7 crashes.
When I comment out the jQuery that controls the fades of the slideshow, IE7 does not...
I currently have functionality on a page to give a user suggestions based on what they type in a text box (jquery suggest). The functionality I would like to add is to restrict what gets selected / entered into the text box to only be items in the list. Basically like a combobox which restricts its selections to what's in the list.
O...
Hi,
I have TextBox on my page. I want to validating this textbox.
The rules are :
TextBox should not get more than 20 chars
Only aphanumeric and chars like / - # & ^ spaces to be allowed
how to do using jquery in best way
...
Im finding that because all the forms that Im working on have a submit button which inlcudes a 'name="submit"' attribute, that the trigger submit is breaking when I click on the link that is supposed to trigger the form submit.
Does anyone know how I can get round this.
The JQuery code below is what Im using:
$('#login_form :submit')....
I have iframe on a page, the iframe and the parent page are in different domain, can a javascript code on the parent page access elements inside this iframe?
...
I had a previous question can jquery ajax call external webservice?
and some good developers answered me to use jsonp, but i don't know how to use it, i am trying to call my service using this code:
$.ajax({
type: "POST",
url: "http://localhost:1096/MySite/WebService.asmx?callback=?",
data: "{}",
...
I am trying to create a dynamic menu by reading an xml file using jQuery. I have developed the code and its been working fine in FF3 and Chrome, however it just doesn't work for IE7/8.
Im posting my code below, can some one please have a look and help me with this ?
var menu ="";
$(document).ready(function()
{
$.ajax({
...
While using jQuery's autocomplete, I've noticed that characters & and ' are
escaped as & and '
Example, autocomplete displays Barbara’s Straight Son but when I
choose this the field shows Barbara's Straight Son.
Any ideas how I can avoid this?
Thank you for your time!
...
Hi there,
Anyone had a chance to use the javascript MVC framework with ASP.NET MVC?
Basically i looking for advise on a way of using them together if possible, my asp.net MVC app i can't get rid of but i would love to use some sort of separation of concern for the javascript / Jquery...
Anybody used something like this? I am trying to...
Is there any implementation of sortable list in ExtJs as JQuery UI .sortable has ?
Or how could I drop element using jQuery UI sortbale from eastern panel of ExtJs layout to droppable sortable element in central panel of layout ? Now dragging element hides under layout :(
...