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 effi
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:
1
1
1
1
1
1
and I want to randomize the order these divs appear on the screen,
mapped to the button's click event.
I can capture the click event, get a count for the number of elements,
make an array with the same length and then randomiz
lt. Only if you want em, etc
we can of course also do:
Arial
Helvetica
Helvetica
etc
and on and on. User hits Save, we do
var saveHTMLContents = $("#display").html();
// upload to db, write to flat file, etc.
and bob's yer uncle.
On Apr 3, 5:08 pm, hedgomatic <[EM
yes hurt yet?
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:
>
>
> $(document).ready(function(){
&g
I'm trying to do the following:
$(document).ready(function(){
$.fn.toggleCSS = function(property,value) {
return this.each(function(){
var p = $(this).css(property);
if(p) { $(this).css(property,""); } else { $
(this).css(pr
pfff. fixed :]
$(".button").click(function() {
var command = $(this).attr("ID");
elements = new Array();
$(".elementSelected").each(function() {
var wordsSelected = $(this).html();
elements.push(words
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 Ar
t what 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()
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
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 g
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:
$(document).ready(fun
14 matches
Mail list logo