I have an edit-in-place plugin I've created for my employer. We *need*
to use iso-8859-1*
I understand we can set the *response* to be in iso-8859-1 in ajax,
but I also need the request to be, so that it's posted properly to our
database.
So, I'm posting with jsonp, and then getting the updated
I haven't seen much mention of this on the web, and only recently
discovered it works not sure if this is somehow bad practice or
just a lesser known trick, but lately I've been chaining .ready() at
the end of .html() when I want to bind events to new ajax data... I
presume it's much more
While virtually every site in existence trumpets using the jQuery DOM-
ready shortcut as an absolute must, I've come across situations which
I feel frustrate the user, particularly when using jQuery to create a
navigational element.
I often work on sites which are going to have a lot of external
I'm working for an alt-weekly paper, and we have some animated flash
ads that come from various sources, which aren't setting the WMode of
their flash ads.
further complicating things, our ad server backend is a shared
platform, so I can't go modifying the script that generates the object
tags.
Let's say I have a page containing the following:
DIV class=element ID=0 1/DIV
DIV class=element ID=1 1/DIV
DIV class=element ID=2 1/DIV
DIV class=element ID=3 1/DIV
DIV class=element ID=4 1/DIV
DIV class=element ID=5 1/DIV
INPUT type=button ID=randomize VALUE=click me!
and I want to randomize
|color:red|background-color:bluedo
your eyes hurt yet?/DIV
which also has the attributes applied as css property:value.
but surely, surely someone can think of something better than that.
On Apr 3, 5:08 pm, hedgomatic [EMAIL PROTECTED] wrote:
I'm trying to do the following:
SCRIPT
$(document).ready
.
and bob's yer uncle.
On Apr 3, 5:08 pm, hedgomatic [EMAIL PROTECTED] wrote:
I'm trying to do the following:
SCRIPT
$(document).ready(function(){
$.fn.toggleCSS = function(property,value) {
return this.each(function(){
var p
I'm trying to reference an element in an each() that's inside an event
function.
scenario--
I have a div with a class of .button, several divs with the
class .elementSelected.
I click on the div with the .button class, and then...
$(.button).click(function() {
elements = new
pfff. fixed :]
$(.button).click(function() {
var command = $(this).attr(ID);
elements = new Array();
$(.elementSelected).each(function() {
var wordsSelected = $(this).html();
I'm trying to do the following:
SCRIPT
$(document).ready(function(){
$.fn.toggleCSS = function(property,value) {
return this.each(function(){
var p = $(this).css(property);
if(p) { $(this).css(property,); } else { $
I actually started with hover, with something along the lines of...
-(snip)
$(#trigger_news).hover(
function () {$(#news).addClass(news_on);},
function () {$(#news).removeClass(news_on);$
(#news).addClass(news);});
-(/snip)
...which sadly wound
I'd consider ideal, but until I come across something
else, hope it helps...
-a
On Mar 7, 11:29 am, Fernando_AJAX [EMAIL PROTECTED] wrote:
Hi hedgomatic and h0tzen,
I'm experiencing the same problem here. I've tried mouseover/mouseout,
hover()... without success.
On Mar 6, 7:08 pm
Update: adding overflow:hidden to my trigger DIVs and tossing in a
load of non-breaking spaces seems to do the trick tolerably, but this
feels like a cludgy solution.
On Mar 5, 10:01 pm, hedgomatic [EMAIL PROTECTED] wrote:
Hi,
I'm working on getting what should be a simple rollover
Hi,
I'm working on getting what should be a simple rollover effect done in
jquery, and it works like a charm in firefox and safari, but IE is not
having any of it.
the page in question is here: http://www.awayfromkeyboard.com/nymphomania/
here's the relevant code:
jQuery:
14 matches
Mail list logo