If you're concerned about it validating, use a conditional comment to
include an IE-only stylesheet with the filter in it. At least your non-
IE stylesheets will validate.
Also, note that for IE8, you'll need to use -ms-filter. So, in your IE
stylesheet, you'll have this:
#thumbs li.select
That works Johan, thanks very much.
Doesn't validate, but I guess that's not the end of the world...
Thanks again.
Paul
2010/1/6 Johan Borestad
> Hi Paul!
> This is a case where you really don't even should use Javascript,
> unless you're trying to do some fancy animations. Rely entirely on C
Hi Paul!
This is a case where you really don't even should use Javascript,
unless you're trying to do some fancy animations. Rely entirely on CSS
with a simple css-rule
#thumbs li.selected {
filter:alpha(opacity=50);
opacity:0.50;
}
This will also be much much faster than any other solution
I get an answer from John:
http://groups.google.com/group/jquery-dev/msg/9345d498c4a1d5f5
On Dec 23, 5:05 pm, Ami wrote:
> One solution is to use the data property like:
>
> function myObj()
> {
> document.bind('scroll',this,this.myScroll);
> this.myScroll=function (data) {
> //No
One solution is to use the data property like:
function myObj()
{
document.bind('scroll',this,this.myScroll);
this.myScroll=function (data) {
//Now I am trying to get this.a
alert(data.a)}
}
But I am sure that changing the scope will work better.
On Dec 23, 5:03 p
Absolutely, you can create a form with hidden fields on the page that
POSTS its values to the server, or you can initiate an AJAX request
with the current page and store it server side in the session, or you
can simply write the current pre-login page out to a cookie, and have
the login page redire
That's a great tip. Thanks, Brian. I'll look into it.
On Dec 19, 8:04 pm, brian wrote:
> Just start a session by default for any user. Once the user has logged
> in, create a new session or simply write new values to it.
>
> When the user requests a page, some code of yours must be evaluating
> w
Just start a session by default for any user. Once the user has logged
in, create a new session or simply write new values to it.
When the user requests a page, some code of yours must be evaluating
whether a login is necessary. Ergo, the URL is known to your script.
So, you can then write the URL
There is no session yet; the user has not yet logged in. There is no
way to write the requested URL to a hidden input in the login form,
because the login form isn''t up yet - the user is visiting some other
page.
On Dec 19, 3:58 pm, brian wrote:
> I would do all of this server-side. Have your PH
Although the description is somewhat unclear, if you wish to allow the
user to have several thumbnails selected, all at full opacity, you
should adapt Maurico's nice script a little; the .click function
should add the selected thumbnail to an array or list which can be
used in the chain to filter t
It seems like the plugin Live jQuery might be a good answer. Any
thoughts?
Lemme know
Hi All:
Definitively the best solution is to use relative URL in CSS.
Thank you all for help.
On 17 nov, 16:07, Liam Byrne wrote:
> Why are you using a root-relative URL ?
>
> If the entire site is in a folder, and then you move everything into
> another folder, everything will stay relat
This will also likely create a ton of 404s for the bogus image
requests that are made prior to your JS fixing the image URLs. If
your client likes to look at web logs to identify broken links, this
will become a headache.
I'm going to echo everyone else's sentiments that this is a bad idea.
This
Well, the other option would be once the page is loaded to round all
elements of your page, pick the ones with a background-image and regexp them
to submission. I'd advise against this solution though, on the grounds that
:
- it's not really simpler than adding a background-image correcting
I know it's possible, but it's a really poor way to do this as it will
break the cache.
You should do it with server side code then, can you not edit the html
helper of cakePHP to add the sub directory for you?
nomen wrote:
Hi:
Liam: My client needs to have the posibility to change itself
Hi:
Liam: My client needs to have the posibility to change itself the
image path and he is not a programmer, The maximun complication should
be to change a text by another text. Anyway I know it is a posibility
and I have it in mind.
Michel: I try to use the base tag but I´m using CakePHP
unsubscribe
On Fri, Nov 13, 2009 at 11:12 AM, Dan wrote:
> That is very cool. But it still does not do what I need.
>
> I need just the background to change -- not the entire child element,
> the content in the box must not change or fade -in/out.
>
> Thanks.
>
> Dan
>
> On Nov 13, 9:11 am, Karl
That is very cool. But it still does not do what I need.
I need just the background to change -- not the entire child element,
the content in the box must not change or fade -in/out.
Thanks.
Dan
On Nov 13, 9:11 am, Karl Swedberg wrote:
> In that case, I'd use something like the Cycle
> plugin
In that case, I'd use something like the Cycle plugin.
http://malsup.com/jquery/cycle/
This works on a set of multiple sibling elements, so it isn't exactly
what you're looking for. But if you have a single element that you
want to achieve this effect on, I'd do this:
1. wrap the element in
Thank you Karl but ...
I have seen this article, it does not explain how to do what I want.
I need the background to change and loop without a user doing
anything. Also I need to use a fade.
I have done a lot of searching and haven't found anything. It seems
that it is possible, and possibly eve
Thanks for the solutions, I have figured out solutions like yours, but I
tought that may exists less-code solutions, so I opened this thread.
Thanks anyway, great solutions.
On Tue, Oct 20, 2009 at 00:18, Charlie wrote:
> I try to learn as much as I can from this sort of exercise.
>
> I made a
I try to learn as much as I can from this sort of exercise.
I made a couple of revisions to previously untested version, went back
and made a couple of syntax and code fixes to previously untested
suggestion
I only submit this because it works on a limited sized table with
simple names, not
Bi Jing wrote:
I like this issue and following is my draft implement, its
working on IE/FF, hope it helps
Firstly, I suggest adding a class to COSTUMER column that gonna making
things easier.
HTML sample code:
1
dd
cc
ss
ss
I like this issue and following is my draft implement, its working on IE/FF,
hope it helps
Firstly, I suggest adding a class to COSTUMER column that gonna making
things easier.
HTML sample code:
1
dd
cc
ss
ss
2
22
33
my starting thought would be use the name as a class, assign a color to
class perhaps from an array of colors so you could have 10 colors and
use them in order for first ten unique names, then repeat for next 10
unique names
use a length ( or size) test to see if that class already exists, if
Put together a hashtable of colors based on the customer name.
Something like this (untested):
var hash = {};
$('#tableid tr').each(function(i){
var tr = $(this);
var customer = $.trim(tr.children('td:eq(1)').html());
var color = hash[customer];
if (!color)
{
has
nevermind, it does work...
(why can't I delete a post...)
On 1 okt, 19:34, Barisko wrote:
> $(function(){
>
> var w = $(window).width();
>
> $('#background').css({backgroundPosition: w + 'px 190px'});
>
> });
>
> Could anyone explain to mee why this is not
I tried changing the HTML/Javascript to this:
$("#select option").each(function(){
var value = $(this).html();
$(this).addClass(value);
$('.foo').append('');
});
$('.foo a img').click(function(event){
event.preventDefault();
var fAlt = $('.foo a img').attr('alt');
$('.fooA
var fAlt = $('.foo').attr('alt');
should be:
var fAlt = $('.foo a img').attr('alt');
or better
var fAlt = $(this).attr('alt');
Maurício
-Mensagem Original-
De: Benn
Para: jQuery (English)
Enviada em: sexta-feira, 14 de agost
missed a line, the JS should be:
$('.foo').append('');
$('.foo a img').click(function(event){
event.preventDefault();
var fAlt = $('.foo').attr('alt');
$('.fooAlt').text(fAlt)
})
On Aug 14, 2:30 pm, Benn wrote:
> I'm trying (rather unsuccessfully) to fill a div that was created by
>
I should add that if I use mouseenter, it fixes the problem, but then
for some reason my dropdowns parent won't stay active, whereas it will
on mouseover.
On Aug 11, 10:08 pm, sammahoney wrote:
> Hi guys
>
> I have a dropdown menu. When the dropdown is hovered, I need a bg
> image to show, then
You're right, by the way, the pages are .ascx pages, ma they lived
"alone", like .aspx pages (they're not embedded in .aspx pages).
And the second page where redirect the user in NewUser.ascx (or .aspx,
it all the same).
Thanks for precisation.
Luis
Well first off.. you can't redirect to a user control (ascx) because
that's not a "page" per se
Secondly, your original post gives no indication *where* to send the
user
On Jun 16, 10:05 am, ciupaz wrote:
> So putting value="NewUser.ascx" in the tag?
>
> Luis
So putting value="NewUser.ascx" in the tag?
Luis
$("#Users").change(function() {
var url = $(this).val();
top.location = url;
});
On Tue, Jun 16, 2009 at 3:53 PM, ciupaz wrote:
>
> Hi all,
> I have an .ascx page with a populated combobox:
>
>
> ---New User---
> Ted Wilson
> Katy Bruce
>
>
> I need that when the use
Cookies?! See the link i've posted above!
On 12 Jun, 15:48, ciupaz wrote:
> Thanks, it's work, and how can I recover the input text value, without
> using the querystring?
>
> Luis
Thanks, it's work, and how can I recover the input text value, without
using the querystring?
Luis
function go(button)
{
$("#my_form").attr("action",button.value);
}
and then in your button tag add this
onclick='go(this)'
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail: mjlaw...@us.ibm.com
'Examine my teachings critically, as a gold assay
View this page
http://www.komodomedia.com/blog/2008/07/using-jquery-to-save-form-details/
On 12 Jun, 15:25, ciupaz wrote:
> Hi all,
> I have a form like this:
>
>
>
> Name:
>
>
>
>
>
>
>
> how can I change my action form so the form goes to Page1.htm with
> click on button
It's not going to be possible in a cross browser way
On Jun 8, 8:39 am, weidc wrote:
> Hi,
>
> i'd like to know if i can change the page url somehow.
>
> for example:
>
> let say the page's url is:http://groups.google.com/group/jquery-en/post
> i would like to change it to:http://groups.google
Hello. Not really...it is an intranet site...however, I can send you
the files in a zip.
On May 29, 10:45 am, Stoney wrote:
> Do you have an active site where you have an example of what exactly
> you're trying to do?
>
> On May 29, 11:13 am, will wrote:
>
> > Hi. I have the following layout.
>
Do you have an active site where you have an example of what exactly
you're trying to do?
On May 29, 11:13 am, will wrote:
> Hi. I have the following layout.
>
> .panel
> {
> position:relative;
> width:580px;
> height: auto;
> /*overflow: auto;*/
> padding: 4px;
>
> }
>
> .pa
Do you have an active example of this?
On May 29, 11:13 am, will wrote:
> Hi. I have the following layout.
>
> .panel
> {
> position:relative;
> width:580px;
> height: auto;
> /*overflow: auto;*/
> padding: 4px;
>
> }
>
> .panelContent
> {
> position:absolute;
> top:1
"Is there a better way?"
No, you can clearly see he has the key of "q" hard-coded right in the
code.
this was the previous topic i spoke of
http://groups.google.com/group/jquery-en/browse_thread/thread/4afe40edefcaed19/2d981b31387bdc98?hl=en&lnk=gst&q=morningz+q
and in there, it was the sam
@MorningZ Yes.I figured that out as well. Thank you for your prompt
and courteous reply and for the record I did search the forum first,
but could not find this question. Is there a better way? I hestitate
to hack the "core" autocomplete plugin if I can avoid it and if I
could somehow override it
I've gotten it to work before when a member on the list previous asked
for it.
go into the js file and search for "function request"
in there, you'll see $.ajax defined, change
q: lastWord(term)
to
YourKey: lastWord(term)
and it *should* work... it's surely easy enough to just give it a shot
AJAX would only be required of you wanted it to post to the server.
The jQuery to do it would be
$("#buttonName").val("New text for button");
Goldielocks wrote:
Hi,
I would like to change the text of an asp button from client-side code
without posting back to the server. Is this possible to
Hi Mat,
Try this:
$('#menu li').click(function() {
$(this).addClass('current').siblings().removeClass('current');
});
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 17, 2009, at 1:11 PM, Mat wrote:
I have already read the similar post in this gro
the code i finally used was:
$("ul.glossymenu li").click(
function(){
$("ul.glossymenu li").removeClass("current");
$(this).addClass("current");}
);
thanks for the help;
kd
On Apr 11, 9:54 am, victorg wrote:
> Oops, forgot the case on removeClass and a
Oops, forgot the case on removeClass and addClass:
$("ul.glossymenu li").bind("onclick",function(){
$("ul.glossymenu li").removeClass('current');
$(this).addClass('current');
};
);
On Apr 11, 3:50 pm, victorg wrote:
> The problem is that you
The problem is that you are selecting li items which have the class
glossymenu (li.glossymenu).
While you actually need :ul.glossymenu li".
So something like this should work :)
$("ul.glossymenu li").bind("onclick",function(){
$("ul.glossymenu li").removeclass('current');
http://tinyurl.com/dar2ld
http://tinyurl.com/cvjkqa
http://tinyurl.com/ae56nz
On 3/26/09, Air YT wrote:
>
>
> hi there, have a puzzling one.
>
> i have a fairly simple function call that we use to display tooltips
> over certain image elements. we put the function call in the
> onmouseover
so here's what I would up doing. The data is coming from the django
template. i added this after the {% for result in results %} template
tag in the admin/change_list_results.html template:
$(document).ready(function(){
var column = 12
$('img[alt="1"]').parent().filter('td:nth-ch
Assuming you have this:
Something here
You'd use this javascript:
$('#dj .options tr').each(function(){
var self = $(this);
self.find(':checkbox').click(function(){
self.toggleClass('selected')
});
});
I don't know if it's possible for the click event to fire
Sorry, Number() is probably better. :)
if (Number($(this).text()) > 90)
On Mar 12, 12:32 pm, James wrote:
> Looks good. Might also want to make sure the text value is a number.
> Maybe do a conversion or something.
>
> if (parseInt($(this).text()) > 90)
>
> On Mar 12, 12:15 pm, Charlie Griefer
Looks good. Might also want to make sure the text value is a number.
Maybe do a conversion or something.
if (parseInt($(this).text()) > 90)
On Mar 12, 12:15 pm, Charlie Griefer
wrote:
> disclaimer: n00bie code (seems to work, but might not be particularly
> elegant) :)
>
> $(function() {
> $('.
disclaimer: n00bie code (seems to work, but might not be particularly
elegant) :)
$(function() {
$('.numericColumn').each(function() {
if ($(this).text() > 90)
$(this).parent().css('backgroundColor', 'red');
});
});
On Thu, Mar 12, 2009 at 12:33 PM, Lars wrote:
>
> I am totally new to jQuery. I
Apologies. I assumed the function would continue its down/right
movement and push the window. It handled itself and moved down/left as
needed. Sorry about the deadthread
On Mar 9, 4:04 pm, Ed Lerner wrote:
> I need to use the animate function (slide, show, etc won't do) on a
> project. Typically
Solved it:
Even though the original .change handler terminates with return false;
The thread created for the AJAX call, does some UI work depending on
the server response. If that work involves displaying some UI that
requires user input, then this function must also terminate the Ajax
thread wit
True, but if you're not developing or care about the browsers on the phones
at the moment then who cares.
Obviously we are going to later on but for now, you don't have to
necessarily target phones even if they are a bigger part of the picture.
With that, I'm saying JS is not such an issue.
r
Yes we are! You're not only talking about the low percentage of
browsers with JS off, but more important mobile browsers which don't
have full support for javascript. That's a big market.
Besides that, using pure CSS is faster, simpler, less prone to errors
and follows the unobtrusive principles.
Nice post! I'll try the body route like everyone else has
Maujor wrote:
>
>
> How about use the widely ways to achieve this?
>
> 1-) Via CSS
> Assign an ID to the body element for each page, like:
> , ,
>
> and an ID for each menu item like:
>
>
>default.aspx home
>
Sure, if the user has it turned off, they're just not going to see the nice
highlighted selection on the menu items. But I bet you it's rare that we
have to worry anymore about JS being turned off.
If that were the case, JQuery and rest would be an "issue" today.
expresso wrote:
>
> Another
Another thing I don't get is why everyone says JavaScript is not ideal. I
mean are we all really still worrying about users not having JS turned on in
the year 2009 when almost half the sites or more have JS reliant controls
and functions on the page?
expresso wrote:
>
> Thanks much for clari
Thanks much for clarifying..!
mkmanning wrote:
>
>
> Since it's not a regex, it doesn't matter for the substring if
> it's .asp or .aspx (or .as or .a for that matter). Any of those will
> do.
>
> On Mar 1, 10:17 pm, expresso wrote:
>> I see now. Yea, strip out the .aspx (asp is classic, no
Since it's not a regex, it doesn't matter for the substring if
it's .asp or .aspx (or .as or .a for that matter). Any of those will
do.
On Mar 1, 10:17 pm, expresso wrote:
> I see now. Yea, strip out the .aspx (asp is classic, nobody uses that
> anymore)
>
> then take the page name and set the
I see now. Yea, strip out the .aspx (asp is classic, nobody uses that
anymore)
then take the page name and set the css to whatever element that has that ID
as the page name's CSS.
thought about that, and to me that's the best way to to it if going the
javaScript route. thanks a lot!
mkmannin
When a user clicks a hyperlink, a new page loads and the code example
I gave executes -- on the new page ondomready. It never executed on
the click. That's why it's extracting the pathname from the location
object.
On Mar 1, 10:05 pm, expresso wrote:
> I'm saying this:
>
> 1) User clicks a hyper
I'm saying this:
1) User clicks a hyperlink, it calls that javascript method which sets some
css class
2) user is redirected to whatever page that hyperlink represented
3) you just lost the css that you changed when the user clicked the
hyperlink
mkmanning wrote:
>
>
> I'm not sure what you
I'm not sure what you mean by losing the CSS value? If you load a new
page, the CSS loads (preferably in an external stylesheet), and the
JavaScript executes ondomready (the JavaScript would have to be on
every page, or preferably included in an external file also). From
your example markup, each
Also when dealing with Subtext, it's not that simple, I'm trying to figure
out how do that in Subtext...the example you spoke of but it's difficult, I
need to figure out where I can do this since it's a bit complicated in how
they are rending their user controls, default.aspx, etc.
expresso wro
Problem with the JavaScript is that you loose the css value after you're
redirected to whatever page. You'd have to obviously have to either do some
if statements to check which .aspx page y ou went to or send the id of the
anchor over in a querystring then grab it in JavaScript to set it again
You can do still do it with asp:
http://stackoverflow.com/questions/188124/programmatic-solution-to-change-navigation-id-to-highlight-current-page-asp-net
Or if you really want to use JavasScript, the same solution above
applies:
var pathname = window.location.pathname;
pathname = pathname.subst
But I'm using a asp.net master page and inheriting it's body. so my pages
only will have one global body tag.
mkmanning wrote:
>
>
> Unless your only option is to resort to JavaScript, this is something
> you could do with CSS alone, if you put an id or class on the body tag
> for each page
How about use the widely ways to achieve this?
1-) Via CSS
Assign an ID to the body element for each page, like:
, ,
and an ID for each menu item like:
home
about
contact
And CSS selector for current page is:
body#home li#ho a:link, body#about li#ab a:link, bod
Unless your only option is to resort to JavaScript, this is something
you could do with CSS alone, if you put an id or class on the body tag
for each page and just rely on the CSS hierarchy to change the style
for each list item. It also has the advantage of working immediately,
instead of waiting
Thanks, I ended up playing around with the url before I passed it into
the function, didn't realise I could do it like that.
On Feb 25, 7:49 pm, brian wrote:
> Also, $($finalurl) likely won't select anything because you're only
> passing the classname. It needs to be in the form '.classname'
> (
Thank you very much.
It took me another hour but I managed to debug the code and get it all
working, thanks again.
On Feb 25, 7:38 pm, Stephan Veigl wrote:
> Hi,
>
> instead of doing a complicate string handling you could simply use
> window.location.hash:
>
> $finalurl = window.location.hash;
Also, $($finalurl) likely won't select anything because you're only
passing the classname. It needs to be in the form '.classname'
(prepended by a dot). Try $('.'+$finalurl)
On Wed, Feb 25, 2009 at 2:38 PM, Stephan Veigl wrote:
>
> Hi,
>
> instead of doing a complicate string handling you could
Hi,
instead of doing a complicate string handling you could simply use
window.location.hash:
$finalurl = window.location.hash;
For debugging I would do it step by step and not all in one line:
var el = $($finalurl+" :first");
var src = el.attr("src");
var src_split = src.split(".");
var new_sr
Hmm... how about:
$('#selectId').trigger('change');
On Feb 13, 1:09 pm, Mario Soto wrote:
> Neither I did find troubles.. :P
>
> This is code like I use it. I check the select and then for it's value
> check what to do.
>
> switch($('#selectId').val(){
> case 1:
> // say hello
>
Neither I did find troubles.. :P
This is code like I use it. I check the select and then for it's value
check what to do.
switch($('#selectId').val(){
case 1:
// say hello
break;
case 2:
// say good bye
break;
case 3:
case 4:
case 5:
//
Hi Mario,
You can trigger the change event in programatically in jquery after
your update code
...
// update code here
$('#selectId').change();
Dave
On 13 Feb 2009, at 22:40, Mario Soto wrote:
Hello.
I have a form where i update some fields if there are info on the
database (autolad o
I can't find any issues with what you have. Please post the validation
part of your code.
On Feb 13, 12:40 pm, Mario Soto wrote:
> Hello.
>
> I have a form where i update some fields if there are info on the
> database (autolad of data). Then I have to verify if some data must
> been shown if ce
You can use document.location.hash to get the value of the "bookmark",
and based on that value auto-load the content of your link
automatically.
On Feb 6, 10:59 am, atomk wrote:
> I know I can change the name in the location bar with the method you
> describe, but because all the transitions ini
I know I can change the name in the location bar with the method you
describe, but because all the transitions initiated by clicking a link
are done with Javascript, I don't know how to make each location bar
name bookmarkable so it will "remember" the JS state of things - no
matter what you bookm
The usual way that's done is via the URL hash:
http://adamkobrin.com/#about
location.hash == '#about'
- ricardo
On Feb 4, 3:50 pm, atomk wrote:
> I have different subdomains pointing to the same file on my server -
> simple enough. What I'd like to do is essentially reverse that: Can
> the sa
Makes sense, not possible. The only way a browser allows the location
bar to change is if you're actually at the web address.
Otherwise you could easily phish up account info for major sites by
spoofing the address bar.
On Feb 4, 12:50 pm, atomk wrote:
> I have different subdomains pointing to
Figured out a way to do this so wanted to update with what I found. This
basically cancels the initial request and creates a new one with all the
same values except what you override in the extend function. By doing this,
any callback functions, etc, are kept. In addition, I put in an 'if'
statem
You can loop over the colors also just by using the modulo operator
instead:
$('a').each(function(i){
i = ++i % 4;
var color =
i == 1
? 'red' : //first 4
i == 2
? 'blue' : //second group of 4
i == 3
? 'yellow' : // third group
'lime'; //fourth group and so on
$(th
Hi Ram,
I'm not sure what you mean. In any case, to give a little bit of
background to my question. I'm using jQuery with a custom creation
form in drupal and conditional fields. Fields that are hidden in the
first place all appear - independently from what radio button has been
selected - if you
It is always better to restore the form state from the server side. That
way, I believe you would fail gracefully incase the browser has disabled
javascript. Moreover, it prevents distortion while rendering the page.
On Sun, Jan 25, 2009 at 3:10 AM, LoicDuros wrote:
>
> Thanks Rick, I'll try to
Thanks Rick, I'll try to use .selected! This should help a lot.
Regards,
Loic
On Jan 24, 3:41 pm, "Rick Faircloth" wrote:
> Hi, Loic...
>
> Check out this page about .selected. The example given
> when you follow the link is about a select input, but it seems
> that it could apply to radio in
Hi, Loic...
Check out this page about .selected. The example given
when you follow the link is about a select input, but it seems
that it could apply to radio inputs, as well.
Rick
http://docs.jquery.com/Selectors/selected
> -Original Message-
> From: jquery-en@googlegroups.com [mai
Awesome Ricardo, thanks! I guess the only issue I have is that I'll
never know how many "sets of 4" I'll be dealing with, and i apologize
for not explaining myself very well in my example. Basically for each
"set", I want to run the same function. This is what I came up with.
It works, but I'm a
$('a').each(function(i){
i = Math.ceil(++i/4);
var color =
i == 1 //first 4
? 'red' :
i == 2 //other 4
? 'blue' :
i == 3
? 'yellow' : // etc
i == 4
? 'green' :
'lime';
$(this).css('backgroundColor', color);
});
On Jan 22, 11:37 pm, devilmike wrote:
> Hell
Shawn Grover ha scritto:
You have a slight issue with the samples. The first instance of
$('img') inside the function() should be $(this).
Sorry, you're right... I've answered without the right attention :-P
Giovanni
--
gianiaz.net - web solutions
via angelo custode, 10 - 23100 sondrio (so)
Giovanni Battista Lenoci wrote:
Maybe I confused you.
You've mixed two types of syntax. You can achieve this with 2 syntax:
1.
$('img').each(function(){
$('img').attr({'src': "http://localhost/s.demo/"+$(this).attr('src')});
});
2.
$('img').each(function(){
$('img').attr('src',"http://localho
b u d d h a ha scritto:
i tried but not wrking
am placing a sample code which i used
$(document).ready(
$('img').each(
function()
{
$('img').attr({'src', "http://localho
i tried but not wrking
am placing a sample code which i used
$(document).ready(
$('img').each(
function()
{
$('img').attr({'src', "http://localhost/
s.demo/"+$(this).a
1 - 100 of 212 matches
Mail list logo