Hi,
I am exploring jQuery.get() ajax call to load a website content into my HTML page. The problem is that I am not too sure whether I am using the command correctly
For example:
I would like to load the following website content from google to my HTML page.
I use the following jQuery script to do it :
$.get("http://www.google.com/m...
Basically, what I need is a way for a PHP script called using ajax to access ExpressionEngine's $LANG superglobal. I'm using ExpressionEngine 1.6.8 core, and jQuery for ajax. My setup is that I have an extension that uses the publish_form_end hook to add some content and javascript to the publish form. The content will be dynamically upd...
I checked this in firebug lite, and it's loading everything into the DOM properly, but immediately hangs on the second image. When I try visiting the images individually they don't load either. Any ideas?
I should also point out that this script works fine in: IE7, IE8, Firefox 2,3, and Safari.
$(document).ready(function() {
var reg...
Hi guys,
I have on my site a <div> which contains child <div>'s. I want to make those children to slide into place like a content slider. I've tried a couple of different plugins, but they all failed because they tried to do some kind of DOM manipulation that just made things bad...
My own implementation is poor and seems to be having ...
The title attribute didn't shows.
If you have a tip using another attribute type, I just need to get this data to put in the div, let me know please.
$(function() {
var offsetY = 10;
$('a').hover(function(e) {
var title = $(this).attr('title');
$('<div id="PopRoll">'+title+'</div')
.css('top', e.pageY ...
Hi there. I apologise for any stupid questions/coding, I'm very new to jquery!
I'm trying to create a menu for a one-page site that has rollovers and an active state. HTML:
<ul id="menu">
<li><a class="rollover" href="#"><img class="folio" src="images/folio3.png" /></a></li>
<li><a class="rollover" href="#"><img class="services" src="...
This plugin doesn't seem to do the job for IE6 with jQuery 1.3.2 ( haven't tested 1.4.2 ):
http://www.appelsiini.net/projects/lazyload
...
I want #container's background to flash orange and then return to its normal color.
Is there any better way to accomplish this than:
var old_bg_color = $('#container').css('background-color');
$('#container').css('background-color', 'orange')
.animate({backgroundColor: old_bg_color}, 3000);
...
<HTML>
<HEAD>
<title>Login</title>
<script type="text/javascript" src="http://script.auction.co.kr/common/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(":input[name='txtPassword']").blur(function(e){
$(this).css("background-color","whit...
I would like to replace drop down list (that has on change event that cause ajax update) control while ajax call is being executed with some loading image. Once ajax call is over I would like to restore that drop down with all event handlers intact.
Any simple example or pointer would be appreciated.
Thanks
...
I have the following HTML which is a single result which contains a filename and some metadata about the file. I want to hide the table which has class "detail-pane" initially (I know how to do this) and I want to display the panel (of class "detail-pane") that relates to the filename (e.g. H001_abcde_martin_chop.gits) when the filename ...
My url is of the format http://www.xyz.com/DisplayPost.php?postid=200
I want to detect if the url has "postid=250" in it and hide a div called divOne
How can I do it using jQuery
...
Here's the thing, I have a jquery click event handler, that calls a post on click.
The type that it expects (4th parameter of $.post()) is "json". However, on the
server side; there are two responses to the post: it's either json or html response. The problem is, if it returns html, the callback function isn't called (because the $.post...
Hi Guys,
I have the following html
<div class="sub">
<a href="#" id="people">People</a>
</div>
which has the CSS for the "a" as
color:#999999;
font-size:31px;
I am trying to use jQuery to get this to change the color using a class "active" which just has "color:#777!important;" but everytime I do this it just doesn't work....
I have a page with a form that posts to salesforce.com's webto Lead service.
I am trying to make an ajax version of this using jQuery.
Though the form in the page posts fine and I receive the data in my salesforce, Once I make an identical post structure to this form and then post with jQuery I get a 405.
Any help with this would be gr...
In the past I noticed that in many sites when you type a link with different arguments something else happens ( ex Google ). I would like to implement that into my site but I don't know how. I would like to do it for the search function to be exact. Let's say my site is test.com. The link test.com/find+item would search the site for the ...
What I am doing is creating a simple html page in which there is a textbox. A user posts some input to that textbox such as
first last
first last
first last
first last
Imagine these are different names. What I would like to do is take the input in the textbox, and display it to the screen with the repeating names taken out, in alphabe...
Hi guys,
I was just doing some validation and got some errors due to my javascript...
Error: document type does not allow element "strong" here
$('#myobject').html('<strong>'+multiplier+'</strong><small> objects</small>');
It seems fairly straight forward... i'm putting some html in a html function but w3c doesn't like it... ...
I currently have a form that submits through ajax and when it's successful it puts the information at the top of a list.
My current layout is
<div id="projects">
<div class="project">
....
</div>
<div class="project">
....
</div>
....
</div>
And I do the inserting by
var project = $('<div cla...
I noticed that some wordpress themes ('Thematic' for example) adds user specific classes to the body element so you don't have to retort to CSS browser hacks, for example:
wordpress y2010 m02 d26 h05 home singular slug-home page pageid-94 page-author-admin page-comments-open page-pings-open page-template page-template-home-php mac firef...