I can see how this could be used on the fly as well. Just call a php
page as your javascript and slap a javascript header on it.
That way you can pull in all your js into one call and minify it at
the same time.
I gotta try that.
Thanks for all the responses guys :-)
On Aug 16, 5:49 pm,
I forgot to say that i'm using history plugin too! maybe the problem
is it!
I'm waiting here! any body knows?!
Please...
any body knows the solution?!
On Aug 17, 8:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I'm using liveQuery to load my pages and save them into history
the whole code that i have written is available
inhttp://ajax.rahnemaco.com/2/includes/javascript/rm.js
but a plank of code is :
Hi,
I have a fisheye interface, and onclick I am trying to load a remote
url on a modal dialog. The remote url works without any javascript in
it, but when I include js files.. it doesn't work. I want to load a
calendar in the modal.
Can anyone here please help me out.
-
Anush
Hi all
I have a form which I've broken up into 4 parts using the cycle
plugin. What I can't figure out is how to (or if I can) validate only
the parts of the form which are visible at the time. Ideally, I could
use the validate plugin to do the validating.
The code bits are:
--
script
Sorry for the stupid question, but can someone help me understand what
I need to do to with jeditable (great plugin!) so when my text area
data is submitted the line breaks are converted to br tags, but when
the user edits the same text area again the br tags become line breaks
again?
For
Hello everyone,
I'm trying to do something that's probably trivial, but I can't get it
to work :p
My main page has a div where content gets loaded via ajax:
$('#main').load('page.html');
The file page.html has some html and javascript code, the problem is
getting the javascript from page.html
yup, thats exactly what i want. i'll see about creating a plugin that
modifies the bind function, thanks!
On Aug 16, 5:01 am, Karl Rudd [EMAIL PROTECTED] wrote:
Not sure exactly what you want to see. Is it that you have an existing
page with a bunch of jQuery events added (most likely that you
Hi
I'm trying to get some JSON content using the $.getJSON function, but
it just won't work!!
I started out using ASP.NET to generate a load of JSON, but decided to
create a simple text file with a JSON string in it instead.
Here's my JavaScript:
$.getJSON(/test.txt, function(data) {
Dear friends,
i am working in a site, in which i have used jquery scripts.
In Jquery the .html() is not working. I used .html() to print the
output to one div from one file.
If i use .html() in ie6 means the site in keep on loading.
Please help me to fix the error.
It is very *Urgent*
Hi,
Is possible to make a few modifications to wrapped elements before
cloning them to a new copy?
Many thanks!
But if my request take longer than 10 seconds?
This does not work.
On Aug 12, 10:42 am, Mike Alsup [EMAIL PROTECTED] wrote:
Try calling it like this:
setTimeout($.blockUI, 10);
If I do it my submit is locked. And the screen of 'wait' does not
disappear.
On 10 ago, 16:42, Adrian Lynch
I have one table, I want click td:first-child then change td:first-
child's background color, when click the td-first-child , td
background color change, but when I click other td:first-child, the
removeClass not work correct,
anyone help ? thanks.
my script:
$(document).ready(function(){
Thanks a lot for your answers!
My solution with a bit of jQuery magic looks like this:
$(#wgt2 ).change(function() {
$(this).children(option:selected).each(function() {
var selectValue = $(this).val();
var selectText = $(this).text();
$(this).removeAttr('selected');
Dear friends,
i am working in a site, in which i have used jquery scripts.
In Jquery the .html() is not working. I used .html() to print the
output to one div from one file.
If i use .html() in ie6 means the site in keep on loading.
Please help me to fix the error.
It is very Urgent
On Aug 17, 9:20 am, Sjurl [EMAIL PROTECTED] wrote:
On Aug 15, 4:24 pm, erroneousBolock [EMAIL PROTECTED]
wrote:
Lid Sjur Ringheim wrote:
trim: function( text ) {
return (text || ).replace(/^\s+|\s+$/g, );
},
That really shouldn't slow down the loading much, unless the
I'm using bassistance.de , Jörn Zaefferer's autocomplete plugin and
loving it.
However I need to be able to call a function or run some javascript
code if the inputted text by the user into the autocomplete field
returns no results.
This would be ideal as an option or a method for the
Hello Mike,
thanks for replying.
I have to my code for this problem, this will make things come put
clearer.
repSelectorH2 = new Array(divname1, divnamearbitrary, divtwo);
function shortenToggle(jSelector,Selector,showId){
if (Selector.length != showId.length) {
Sure, there are a number of ways you could do that. But it's hard to suggest
what might be best without seeing the HTML code - can you post an example?
Also, it sounds like you do have control over the HTML code so you can
change it as needed, subject to your layout design requirements, is
I'm completely new to jquery (and not technical...) and I've been
asked to estimate how mush would it would take to convert a
html +xml+mootools written mini web page into jquery, the current
mootools written mini web page has the following:
* 2 dynamic menus, content of these menus are defined
Waw this is a fast reply! Thanks for trying to help me out!
I followed your advice, made the suggested changes, added some comment
and cleaned up my code, but unfortunately the problem remains...
I threw out everything unnecessary, keeping an empty html page to be
filled with only those elements
Is it actually accessing the file correctly? I'd say provide a test
case or check yourself with Firebug.
On Aug 18, 6:00 am, Jon Sidnell [EMAIL PROTECTED] wrote:
Hi
I'm trying to get some JSON content using the $.getJSON function, but
it just won't work!!
I started out using ASP.NET to
Hi Eric,
Forget about putting onclick directly in your html. Instead, do
something like this:
$(document).ready(function() {
$('div.content').hide();
$('a.title').each(function(index) {
$(this).click(function() {
$('div.content').hide()
.eq(index).slideDown();
Hello,
I'm workin on a Horizontal accordion, here's the demo :
http://localhost/clients/duettographics.com/
that I got it from a tutorial, but I've a strange problem with last
block, it doesn't shrink back !
Thanks for ur time,
Mahmoud
2008/8/18 Jon Sidnell [EMAIL PROTECTED]:
Hi
I'm trying to get some JSON content using the $.getJSON function, but
it just won't work!!
I started out using ASP.NET to generate a load of JSON, but decided to
create a simple text file with a JSON string in it instead.
I did generate jQuery
Here is a demo of validation and an accordion to split a form:
http://jquery.bassistance.de/validate/demo/multipart/
Take a look at the source to get an idea how to implement it with the
cycle plugin.
Jörn
On Mon, Aug 18, 2008 at 1:55 PM, phew72 [EMAIL PROTECTED] wrote:
Hi all
I have a form
By default, tableSorter assumes that decimal point character is '.',
and assigns a text parser to a column that contain strings like
123,45. There is an undocumented (why?) property decimal, which
helps tableSorter understand that these are in fact numbers:
$(...).tablesorter( { decimal: ',' }
Hi Michael,
You have run into a fairly common issue: how to get events to work
with elements that are added to the DOM, through either ajax or simple
DOM mainpulation, after the document ready code has already fired.
This FAQ topic should answer your question:
Hi Eric,
[Sorry if this is a double post. Not sure if it made it through last
time.]
Forget about putting onclick directly in your html. Instead, do
something like this:
$(document).ready(function() {
$('div.content').hide();
$('a.title').each(function(index) {
I was going to modify the standard digit parser for the tableSorter
plugin to fix the other problem I reported here:
http://groups.google.com/group/jquery-en/browse_frm/thread/c5d1ecc422e68a89
but I found out that it seems impossible. It's very easy to add a new
parser using
I have a script that makes a getJSON call to a https located script
while itself being http.
Is there any chance to make this work without browsers giving me a URI
denied error
So http://somedomain.com/ includes a getJSON(https://somedomain/;,
etc
Thanx in advance
I'm still unable to get this to work after trying all weekend. Is it
even possible to slide one div up while simultaneously sliding up
another div?
On Aug 15, 3:01 pm, clrockwell [EMAIL PROTECTED] wrote:
Hello,
I am trying to animate two divs for a sliding effect. The div
currently being
Oh, sorry, here's the true link :
http://www.hdeya.com/other/duettographics.com
Jörn -- that form looks fantastic and is exactly what I'm looking for.
Thanks so much for your reply.
On Aug 18, 11:45 pm, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
Here is a demo of validation and an accordion to split a
form:http://jquery.bassistance.de/validate/demo/multipart/
Take a look
Hello Karl,
Thank you for your reply. But I think you mis understand me.
I want the scripts in the page I loaded with ajax to execute, not let
my already existing scripts work with the newly loaded content.
For example:
main.html:
function test() { ... }
newpage.html:
onready function
I solved my problem!!!
My page didn't have a valid document type on top
Adding this made it work !!!
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
html xmlns=http://www.w3.org/1999/xhtml;
:-)
Thanks for helping!
On 18 aug, 15:00,
hello
for example: http://www.redbulls.com/index.php#pid__lang_de
I think this kind of menu gives a god overview over the available
services..
Michael
I finally worked it out! Apparently, IIS reports a 404 for file
extensions it doesn't recognise as safe, so *.json file was a big no-
no.
Soon as I changed it to the .txt file mentioned above (must've posted
that as an idea before actually trying it in my code - oops!) it all
worked.
Then
Hi there,
Does anyone know if it is possible to remove html comments from the
DOM with jQuery?
My problem is that I really need a page to render in full standards-
compliance mode in IE, but my outdated corporate CMS (Vignette)
inserts an html comment at the beginning of every page which throws
James wrote on 8/18/2008 10:04 AM:
Does anyone know if it is possible to remove html comments from the
DOM with jQuery?
My problem is that I really need a page to render in full standards-
compliance mode in IE, but my outdated corporate CMS (Vignette)
inserts an html comment at the beginning
http://www.firstlineeducation.ca/
Hi!
I'm new to jQuery, and just realized that somewhere along the line
while coding the accordian and cycle plugins into this page, and then
finishing the rest of it the links within the accordian don't work -
they just scroll the accordian section back up into
I was easily able to make the plugin work where I needed to add things
dynamically via jquery.
But now I can't get it work on another page where I need to add a few
div via ajax
When I click on a li I fetch some images via ajax and they get
displayed inside of a container. My problem is that I
http://www.firstlineeducation.ca/
Hi!
I'm new to jQuery, and just realized that somewhere along the line
while coding the accordian and cycle plugins into this page, and then
finishing the rest of it the links within the accordian don't work -
they just scroll the accordian section back up into
I have a current implementation of Jqueryfordesigners.com's tutorial
on how to accomplish Panic's Coda site popup bubble. The background of
the div that animates position and opacity from 0 to 1 is a PNG with
alpha. Despite its support for PNG, the effect doesnt work in IE7- the
full transparency
Nice, actually that did fix the div sliding issue. Also, for the
moment (it has been very inconsistent), I haven't been able to
reproduce the crash.
Thanks Ariel!
On Aug 14, 11:49 am, Ariel Flesler [EMAIL PROTECTED] wrote:
Try doing the following replacement on jQuery 1.2.6 (uncompressed)
This plugin works on every page solo, and on every page but firefox 2
on a page with lots of jquery going on on it. With firefox 2, the
double click event fires, but the keyups dont fire and the input does
not focus, then select. This is really bugging me and i cannot figure
it out.
(function($)
I'm seeing exactly the same thing
However, what is super stange, it's that it happens on my dev machine,
but when, with the same browser i go on the inline site, the same code
works
Hi.
I'm relatively new to javascript in general, and to jQuery. And this
question may be more of a general javascript question, than a jQuery
question. Not sure.
I have an event handler for a click event that looks like this:
// this code works...
try applying 'Listen' to the images container and adding the click
listener to the 'thumbs' class.
$('#images-container').listen('click', '.thumbs', function(){
alert('click');
});
Brian
On Aug 18, 11:50 am, sergeh [EMAIL PROTECTED] wrote:
I was easily able to make the plugin work where I
Yes, that works perfectly.
Wow now that's what I'm talkin about! Well done all! Keep'em coming,
if we haven't covered them already.
cheers.
Joe
On Aug 15, 10:38 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
On Aug 15, 2008, at 8:32 PM, Michael Geary wrote:
From: Michael Geary
It's worth noting the implementation
Thanks for the report, Pete. It sounds like my suspicion was correct -
jQuery applies the :gt() to the *entire* result set at that point, instead
of the immediately preceding selector.
Iin other words, this selector:
.itemList .item:gt(9)
is interpreted as (using double parens to indicate
I am just saying that I would never pass a variable with a string that started
with anything other than an alpha-numeric value and have never see that done
either.
I would never write
var string1 = #This is string1;
var string2 = $This is string2;
or
div class=.class id=#id/div
A lot
Honestly guys, the var string1 = #This is string1; was just an
example for posting here. :) I am not really using it.
On Aug 18, 2:48 pm, ripple [EMAIL PROTECTED] wrote:
I am just saying that I would never pass a variable with a string that
started with anything other than an alpha-numeric
Hello everyone,
I'm new to jQuery (and to programming, as a matter of fact). Still, I
have this task: find a certain element on an html page and insert a
google ad before it (or just anywhere nearby). I have no problems
finding the necessary element, but I just cannot understand how to
insert
Hi!
I found a strange, strange bug in IE6:
aux=somevalues.split('='); // divid=value, i,e, value1=abc (no
quotes)
$(#+aux[0]).text(aux[1]).fadeIn(); // Gives the Error Object
doesn't support this property or method
Now cames the oddity:
var a=abc;
$(#+aux[0]).text(a).fadeIn();
or
hi.. i have a little problem with jcarousel.. :( because i need the
carousel's container as 'display:none;'. onclick of something, the
container slides down.. now, the problem is, when it is
'display:none;' .. jcarousel doesn't work right anymore.. actually,
it's just that the UL's width is not
There's a way to remove a element by his id, but first check if it exists?
thanks.
From what I've heard it's a known problem with IE. You can have PNGs
with alpha transparency in them, and you can have images that you use
a filter (opacity in this case) on, but not both at the same time.
Karl Rudd
On Tue, Aug 19, 2008 at 1:17 AM, Adam [EMAIL PROTECTED] wrote:
I have a
And just to follow up. Here's a previous post about it with a link to
some more details:
http://groups.google.com/group/jquery-dev/browse_thread/thread/1f693c5f4e8ea650
Karl Rudd
On Tue, Aug 19, 2008 at 9:08 AM, Karl Rudd [EMAIL PROTECTED] wrote:
From what I've heard it's a known problem
$('#myid').remove();
If an element with id=myid doesn't exist it isn't selected and the
remove() doesn't do anything. One of the beauties of jQuery.
Karl Rudd
On Tue, Aug 19, 2008 at 6:11 AM, Gewton Jhames [EMAIL PROTECTED] wrote:
There's a way to remove a element by his id, but first check
Both your posts made it through. Sometimes there is a delay in posting them
- I've seen it with my own messages too.
You left out the definition of repShowIdH2. I assume it is another array
that contains the IDs that you want to call .toggle() on, in a 1-to-1
correspondence with the strings in
Actually I should be the one who should thank you for this menu. Great
work!!! As per you suggestion I tried to put fix in onShow callback
but it did not worked so far I tried this
Actually I should be the one who should thank you for coming up with
this menu, it is great. Like you said I tried to put that fix in
onShow callback but it did not worked. So far this is what I did
/
onShow:
Hi,
I'm using livequery with the tabs plugin.
$('.pagelinks a').livequery('click', function() {
$(#loading).ajaxStart(function(){
$(this).show();
});
alert(this.href);
$(#pagedata).load(this.href);
$(#loading).ajaxStop(function(){
Is this page public? Seeing it would help.
There are often plugins that can do a bunch of stuff for you with little
code. (Im not that technical either, which is why I love plugins)
Glen
On Mon, Aug 18, 2008 at 4:24 AM, Hoi [EMAIL PROTECTED] wrote:
I'm completely new to jquery (and not
Ripple, I'm really sorry, but you seem to be mixing up some distinct and
unrelated concepts. Bear with me and I'll explain...
I would never pass a variable with a string that started
with anything other than an alpha-numeric value and
have never see that done either.
I would never write
I'm not going to go any further with this thread, All I said from the start was
that it isn't in my best practices to write code as in the first post.
IE:
var myVar = #testDiv;
We all know there are many ways of writing something. We don't need to get into
the fine details of assigning a
Hi, all
If an event hasn't finished how do I prevent the same event being
triggered again? Thank you in advance!
Jack
Hi, all
I found a message on this group about simulating a keypress such as
$('input#search_fld').trigger('keypress',[{preventDefault:function()
{}, keyCode: 49}]);
It won't work for me. Please advise, thank you in advance!
Jack
.before('google code here')
You'll want to escape any /script's.
On Aug 18, 6:49 pm, Cormac [EMAIL PROTECTED] wrote:
Hello everyone,
I'm new to jQuery (and to programming, as a matter of fact). Still, I
have this task: find a certain element on an html page and insert a
google ad before it
Oh, I got it. this is my way.
$('tr td:first-child').removeClass('selected');
$(this).addClass('selected');
anyone?? please help! :(
btw, may i know why you need to convert from mootools to jquery ?
you can use jquery.noConflict() so it can work with mootools (beware,
some jquery plugins are not working with it)
On Aug 18, 6:24 pm, Hoi [EMAIL PROTECTED] wrote:
I'm completely new to jquery (and not technical...) and I've
Could you please tell me how to do it properly? I tried writing \/
script, but it didn't work.
Thanks!
On Aug 19, 4:38 am, Ryura [EMAIL PROTECTED] wrote:
.before('google code here')
You'll want to escape any /script's.
On Aug 18, 6:49 pm, Cormac [EMAIL PROTECTED] wrote:
Hello everyone,
From: ripple
I meant no harm towards hubbs coding abilities.
And none intended toward yours either, my friend.
Just trying to see what we can learn from each other, in my own annoying
way. :-)
All the best,
-Mike
76 matches
Mail list logo