value=North CarolinaNC/option
You have to change your js code to this
$(#job_state).append(option value=\ +stateName + \ +stateAbbr +
/option);
Best regards,
Lukas
Am 10.12.2009 um 13:55 schrieb Charlie:
Creating a set of dropdowns for US states as follows:
$.getJSON(../js/stateListJSON.txt
I am using toggleClass and I am surprised that the according div
jumps in IE7 down a container height. When I hover over with my mouse
it eventually jumps back into the correct position. Padding, margins
are all set. It's a floating div, width is specified. Can anybody
give me a hint? Thank you!!
I fixed it by removing toggleClass and mark it up differently.
Hi MorningZ,
thanks for your help it is greatly appreciated.
Yes i did get a bit confused with empty (i blame php :P). I've only
been playing with jquery or anything besides plain old
document.form.elementname JS for a week so i'm all over the palce.
I now have it all working just fine.
final
Based on the ID of a clicked element I would like to show another ID:
var currentId = $(this).attr(’id’);
or var currentId = this.id;(?)
$(another-id-(how can I include here currentId?).show();
Thanks for your help!
Thank you Brian!!!
On Oct 24, 5:08 pm, brian zijn.digi...@gmail.com wrote:
var currentId = $(this).attr(’id’);
$('#another-id-'+currentId).show();
(don't forget the # before the ID)
On Sat, Oct 24, 2009 at 4:50 PM, lukas animod...@gmail.com wrote:
Based on the ID of a clicked element I
How can I catch with Jquery a user refreshing the page with his
browser? Thank you!
Thanks for your quick response! It helped!!
On Oct 21, 3:20 pm, KeeganWatkins keeganwatk...@gmail.com wrote:
hi lukas,
you can't specifically listen for refreshes, but you can listen for
unload events. an unload event is dispatched when:
- a link is clicked to navigate away from the page
, though. Haven't had the chance to test it.
On Oct 21, 9:20 am, KeeganWatkins keeganwatk...@gmail.com wrote:
hi lukas,
you can't specifically listen for refreshes, but you can listen for
unload events. an unload event is dispatched when:
- a link is clicked to navigate away from
.
Becoder.
On Fri, Oct 16, 2009 at 11:57 AM, lukas animod...@gmail.com wrote:
Can anybody direct me to a lightweight jquery script controlling tabs?
I just want the activated tab to appear differently than the rest of
the tabs. Thank you!
Jing has given you to
handle even 100 tabs, since it uses classes, not IDs.
- Richard
On Fri, Oct 16, 2009 at 10:53 AM, lukas animod...@gmail.com wrote:
Thank you for your quick response! In the meantime I tried something
similar, I thought there is a solution which doesn't require that much
Jing has given you to
handle even 100 tabs, since it uses classes, not IDs.
- Richard
On Fri, Oct 16, 2009 at 10:53 AM, lukas animod...@gmail.com wrote:
Thank you for your quick response! In the meantime I tried something
similar, I thought there is a solution which doesn't require that much
Jing has given you to
handle even 100 tabs, since it uses classes, not IDs.
- Richard
On Fri, Oct 16, 2009 at 10:53 AM, lukas animod...@gmail.com wrote:
Thank you for your quick response! In the meantime I tried something
similar, I thought there is a solution which doesn't require that much
into using a tabs plugin, if you don't want
to implement this all yourself. For example:http://jqueryui.com/demos/tabs/
http://jqueryui.com/demos/tabs/- Richard
On Fri, Oct 16, 2009 at 12:58 PM, lukas animod...@gmail.com wrote:
Thank you! But how do you memorize the state of the tabs? When you
Can anybody direct me to a lightweight jquery script controlling tabs?
I just want the activated tab to appear differently than the rest of
the tabs. Thank you!
I would like to replace a generic search box with a multi select
dropdown menu from which a user can select several items. I found
http://dropdown-check-list.googlecode.com/svn/trunk/demo.html .
Unfortunately, but with almost 30kb it is too large for my
application.
Could maybe anybody direct me
Could anybody help me to replace a normal search input type=text
box search button with a select dropdown menu providing only a
limited selection of search items? Can anybody help me with the
necessary jQuery code? Thank you!
Thank you! It somehow does not work.
Here is what I got:
$(#logo:a).click(function(){
$.cookie('startCookie',
'default').load('http://www.mylink.com');
});
And here is the html:
div id=logoa href=template language defines the link here/
a/div
Does anybody have
I have a div that only contains an image.
How would I create a jquery-click function that basically would
represent a normal a tag for his div?
Thank you!
Thank you everybody! I made it work by applying display:block and
width/height to the a tag within the div.
The confusion was created by IE treating the image-containing div
differently than the rest of the crop. It tried everything that the
next div would not jump below the logo div in IE. The
Thank you, Richard! I hope I manage to include several columns in a
submenu. It is not that great to have all 52 States in one column for
example.
I stumbled over a very elegant way to select from a large item list on
http://siemens-home.com/ (Choose your country). Could anybody
direct me to a jquery plug-in? It would be great to replace my drop-
down menus with a more appealing menu. Thank you!
How can I pick an id element (here #bridge1,#bridge2) and toggle its
child (here a p element) without actually using the id element as
parent?
'this p' apparently does not work.
$('#bridge1,#bridge2').click(function(){
$('this p').toggle();
return false;
});
Thanks for your
Thank you for your immediate response, Hector and Brett! I love the
jquery group!
Why not to simply place them into head of the page
They will be loaded in the same order as you put them into head
Or use http://plugins.jquery.com/project/jquery-plugins to dynamically
load them
On 24 Lie, 18:52, shaf shaolinfin...@gmail.com wrote:
Hi Guys
I have 4 scripts I want to load
Well you can replace '!, into spaces and then count
Also I'd do a loop and remove empty elements (if multiple paces was in
text) before counting.
On 24 Lie, 13:25, Raju raju3...@gmail.com wrote:
Hi
i want a jquery plugin to view word files,
can somebody help me out in this regards
Warm
cant you use
span id=originaloriganal html/span' 'span class=newhtml to
be replaced /span'
$('#original').html ($('.new').html ());
$('#new').delete(); if you don need it anymore.
On 24 Lie, 15:56, Sourabh sourabhmkulka...@gmail.com wrote:
Thanks for your help
Ok I have a scenario like
Try CKeditor http://ckeditor.com/
It is the newest (yet RC) version of famous FCK editor. As far as I
have used it, no problems at all :)
Check put new skin they created :)
On 24 Lie, 22:35, Steve Hueners st...@juststeve.com wrote:
I'm hoping someone can help me narrow down the field
according
Hello! I have a list of messages which I want to sort with the help of
a jquery drop-down menu.
It is a template file with an underlying PHP/MySQL application.
All what I would like to do is to change a variable value and refresh
(or not refresh?) the same page when someone uses the drop-down
I don't get this to work. Somehow the PHP code is ignored within the
radio input forms. Can I change PHP variables within the code and work
with them in the according #div? Does anybody have a hint? Thank you!
jQuery:
$(#input-l:input:radio,#input-c:input:radio).click(function(){
if html corresponds
to your javascript on that.
best regards,
lukas pitschl
Am 12.01.2009 um 20:21 schrieb Varun Khatri:
alert($(#+serverIdPrefix+table1).length));
This returns 1
I dint get it
Plz help
Thanks
Varun
On Mon, Jan 12, 2009 at 4:26 AM, MorningZ morni...@gmail.com wrote
Hi everybody,
I don't want you interrupt, but I don't know if you already notice that
today is 24th December so at least today you shoold stop working and
relax :) Merry Christmas to all of you :)
elf from Slovakia
Does anybody know about a lightweight nested tab solution? I don't
need any easing gimmicks. I also stumbled over ajaxtabs (http://
www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/ajaxtabs_suppliment2.htm)
Thank you!
I am a bit confused with all the possibilities! I am looking for cross-
browser plug-ins for
tabbing
vertical accodion
flexible pop-ups (thickbox, lightbox, facebox,...) which you also
can use for forms or a gallery.
pull-down menu that can display sub-folders and offers the option
of
thank you, yes i had a look at it. but i don't have the time to test
out all the available options and hence posted my question in order to
get some hands-on experiences.
on it (for me)
either. Doesn't appear to be in a cookie.
On Nov 22, 6:58 am, Rik Lomas [EMAIL PROTECTED] wrote:
You could use the $.data() function to store any data when
adding/removing classes:
http://docs.jquery.com/Internals/jQuery.data
Rik
2008/11/22 lukas [EMAIL PROTECTED
Is it possible to click or select a DIV with jquery?
$(DIV ID or Class?).click(function() { .
Thanks for your kind help. I had the wrong path to jquery!
I am removingadding a class to a DIV. What is the best way to
memorize this change for the application before it is resetting itself
while going through the loop again? Thank you!
, depending
on the current status.
cheers
lukas
Am 21.11.2008 um 00:56 schrieb Brendan:
I am new to jQuery (coming from Mootools) and the way things are done
here are a bit different, but I am willing to put a lot of effort into
learning it.
That said, I have some working code here (I wrap
Hi,
I use jQuery to every ajax call in my webpage. It seems to me that ajax
call doesn't work in IE at all. Am I wrong or is this known error? Is
this possible to fix it?
If you need, I can send sample of my source code.
elf
']:checked).size()
if(checked == total)
$(#all).show(500);
return false;
});
I'm not too sure about the expression @type='checkbox', but i guess
you get my point.
Hope this works for you
Lukas
Am 18.09.2008 um 09:44 schrieb tlob:
Hello I sucessfully implemented
Hi guys,
I have a question. I'm using jquery on my pages and js files are linked
like this:
script src=http://code.jquery.com/jquery-latest.js;/script
script
src=http://dev.jquery.com/view/tags/ui/latest/ui/ui.datepicker.js;/script
Everything works fine, but ff 3.0.1. is showing some(2)
/ napísal(a):
You have to include mootools at first and jquery at least:
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
On 14 Sep., 20:41, Lukas Polak [EMAIL PROTECTED] wrote:
Hi guys,
I have a question. I'm using jquery on my pages and js files are linked
like this:
script
Hello,
i need help. I 'm trying what fatepicker can do and I want change the
day, when week starts in calendar. I want monday to be first day in
week, but I really don't know hwo to do that. Do you have any ideas?
elf
How can I simply use jQuery commands to i.e. toggle a DIV which is
created on the fly? For some strange reason livequery doesn't work ---
jQuery(.abc).livequery is not a function...
Thanks for any help!
you don't need to use jQuery. I've just been solving problem about how
can I get value of SELECT by jQuery and I've realized that there is
another, easier path. Just use simple JS:
function getID()
{
return document.getElementById('test').selectedIndex; // this
command find out index of
that are not available when the dom is first loaded.
On Fri, Sep 5, 2008 at 10:49 AM, lukas [EMAIL PROTECTED] wrote:
My PHP code creates a button which doesn't exist when my page is
loaded. Hence, the according jQuery command doesn't work. How can I
fix this? Thank you!
The CASE:
I have 3 links which specify 3 different views (or various sized
DIVs).
If the user clicks a specific view the according link should become
invisible. As a result only 2 links supposed to be active and visible
at any time since the 3rd view is currently active.
What is the most elegant
Hello! Does anybody see a mistake here? I want to let a DIV disappear
while another DIV needs to change its class. Thanks for your input!
jQuery(document).ready(function() {
jQuery(.toggle-left).click(function() {
jQuery(#left).toggle('slow');
jQuery(#forum).toggleClass(#forum-wide);
});
});
I want a DIV to disappear while another DIV supposed to toggle its
class. The first task gets accomplished but not the 2nd one. What is
wrong with my approach? Thank you!
jQuery(document).ready(function() {
jQuery(.toggle-left).click(function() {
jQuery(#left).toggle('slow');
Has anybody done something like the vertical navigation bar to be seen
on
http://www.sitepoint.com/article/css-animation-technique ?
You elegantly widen the middle column by pushing back the left side
column.
Great effect. Any suggestions? Thanks!
Does anybody have experiences with setting up a news feeder for jTabs/
Tab browsing? (like Yahoo is doing it?) I am confused with all the
info on the web. Thank you!
Hi! I am looking for a nice looking 2 or other multiple-day weather
forecast. Does anybody have good recommendations (also for commercial
use)? Thanks for your help!
Thanks, but it still doesn't work...
On May 16, 6:06 pm, Wizzud [EMAIL PROTECTED] wrote:
You need to enclose the jQuery code inside Document Ready
...http://docs.jquery.com/Tutorials:How_jQuery_Works#Launching_Code_on_D...
On May 16, 5:17 pm, lukas [EMAIL PROTECTED] wrote:
Hello! I
55 matches
Mail list logo