Is there any way to get the following code to refresh after every
sort?
The $(#myTable).each(function(){numbers it, and if I replace
it with $(#myTable).bind(sortEnd,function(){ it just adds a
new numbered row after every sort (three sorts gets you three columns
of numbers).
Hey,
I've got my table set up. The rows all work backwards and forwards,
and I've got the columns disabled that I want disabled. But I have
searched and tested and I can't find any method of mouseover
highlighting that works. For some reason, addClass and removeClass
don't seem to work. I know
://images.earthcam.com/ec_metros/newyork/newyork/lindys.jpg?refre...[random_number];
for [random_number] try generating a random number using javascript
then putting it there. I have heard that passing a query string can
trick browsers into thinking it is a different file.
On Nov 12, 6:02 pm, Jay jinqi
I am trying to display a image on my website. The image always has the
same file name, but the content will change each time it is requested.
I use the following code to refresh it on my web site, but it only
works with Firefox. Is there any better way to do it?
html
head
titleSimple
Hello,
I'm working on an application wherein I have a checkbox that triggers
an ajax call to update a database. Should the database operation
fail, I want the checkbox to retain its old state. I'm having trouble
making this work. The closest I've gotten is that if I bind the
'click' event of
This site:
[url]http://www.prodigytech.com[/url]
I'm having problems with embedding the Superfish vertical menu.
anything found underneath it actually extends to under the superfish
menu.
couldn't find where in the css it might help.
thanks!
Hi, I'm trying to change the value of an input field (target) which
depends on another input (source). It works well when I manually
change the source value. But if I changed the source value with
another button, the target value remains the same. Here's the code...
$(document).ready(function()
Is the document not ready after innerHTML is set? I'd imagine there
would be circumstances where different browsers would behave
differently with styling of certain DOM elements, but I imagine you
could special case those situations.
On Apr 12, 10:31 am, e.sand elisand@gmail.com wrote:
So
inside the each you need to reference this or $(this) instead of
referencing all of the elements again.
On Apr 12, 11:38 am, adesign andersek...@gmail.com wrote:
Hello,
I am very new to jQuery and don´t know how to write my code for every
item.
Here is my code for a list with hover
I'm working on a multiselect plugin that uses only live events, and
the way it works is the select element gets replaced by an input and
div element. I would like to supply a callback function where the
callback is tied to the input element. Is using the data method to
store the callback the
Just curious.. What is the difference between mouseover.dc and
mouseover?
On Apr 10, 1:44 pm, Ricardo ricardob...@gmail.com wrote:
This (untested) is how I envision the code for that:
$.fn.dragCheck = function(){
//this == the current jQuery element
return this.each(function(){
You can check the version with $().jquery. You can remove all
instances of jquery from the current page using something like this:
if(jQuery) $('script[src^=jquery]').remove();
There is also the noConflict method which might help.
On Apr 10, 1:44 pm, ihomest...@gmail.com ihomest...@gmail.com
Why not just surround it in:
if (node){
..code that uses a non-null node
}
On Apr 10, 3:59 am, mikemad madd...@gmail.com wrote:
I'm getting the error 'parentNode' is null or not an object when
using BlockUI (Latest version and latest Jquery). I'm also using
Microsoft AJAX.NET. I'm blocking
Can you post an example? I'm not sure I understand your question.
On Apr 10, 5:23 am, Titti prima...@gmail.com wrote:
Hi, i'm using jquery treeview
(http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
) menu in my website and i have a little problem: when i open a page
from the
If you want it directly below the image the easiest thing to do would
be to position it absolutely to this position when you hover over the
image. Something like this might work:
div = $(div style='display:none'blah/div)
jcarousel.find(img)
.hover(
function(){
theimageelements are sort of dynamic it might be better to
use
live events with mouseover/mouseout, or mousemove
Thnak you again for your time.
Hugo
On Apr 10, 8:22 pm, jay jay.ab...@gmail.com wrote:
If you want it directlybelowtheimagethe easiest thing to do would
be to position
, 20:36, jay jay.ab...@gmail.com wrote:
Just curious.. What is the difference between mouseover.dc and
mouseover?
On Apr 10, 1:44 pm, Ricardo ricardob...@gmail.com wrote:
This (untested) is how I envision the code for that:
$.fn.dragCheck = function(){
//this == the current
$('div').click(function(){
alert(this.id);
});
On Apr 10, 8:46 pm, thought thou...@orcon.net.nz wrote:
Hi all.
This might be more of a javascript problem rather than a jquery
problem,
but I'm also wondering if there is a 'jquery way' of solving it.
Given this code:
DIV id=div_one/DIV
A live handler is different from a normal handler, and I'm not sure
why you're putting a normal handler inside of a live handler. A live
handler works by looking at the target of whatever is clicked and
comparing it to the selector, in this case, the thumbnail class. I
personally prefer to use
It would be fairly trivial to roll your own drag-drop plugin, and this
way you can have better control of the characteristics. For general
info on how drag-drop works in javascript (in the event that you don't
already know) I have found this web page invaluable (it is the first
link that pops up
Is there a general rule of thumb to avoid orphan nodes? I'm using a
multiselect plugin which I'd like to be able to remove from the DOM
but it is creating orphan nodes in IE and the nodes are not removed
according to sIEve. I suspect it is the order that the elements are
removed from the DOM,
tr
td id='selectBin'
/td
/tr
/table
/body
/html
On Apr 9, 3:16 pm, jay jay.ab...@gmail.com wrote:
Is there a general rule of thumb to avoid orphan nodes? I'm using a
multiselect plugin which I'd like to be able to remove from the DOM
but it is creating orphan nodes in IE and the nodes
I've added similiar functionality to the remove and empty methods to
fix this bug. I know dojo does something similiar. Also I've noticed
that it still causes leaks if the content you load has script in it.
For example: div onclick=alert(1)/div
On Mar 9, 4:33 pm, mif86 finsta...@gmail.com
It doesn't matter what is used to generate the (x)html/css. Just set
the src of the iframe to the URL and it should work.
On Mar 27, 3:47 pm, themba themba.ntl...@gmail.com wrote:
Hi Guys is it possible to embed a php website on an asp website using
jQuey or is possible to create a dynamic
Simple example:
body
script src=jquery.js/script
input class=cbx id=cbx1 type=checkbox /
input class=cbx id=cbx2 type=checkbox checked=true /
input class=cbx id=cbx3 type=checkbox checked=true /
input class=cbx id=cbx4 type=checkbox /
input class=cbx id=cbx5 type=checkbox /
script
var
How to drag link from another window and using the javascript in the
main window to intercept the link and add customized handler?
The goal is to have an event handler in the main window, then whenever
a new link from different browser window is dragged into the main
window, the dropped link
Dear All,
Please help me in installing and using superfish menu in my website. I
downloaded the file but I don't know how to make it work in my website
for the menus.
Thanks in advance
Jay
I'm playing around with writing a server-side script that generates
JSONP from content that is downloaded by the script (URL is passed to
script from querystring). Is there a better way to do it than to
encode it as base64, or is there a work-around that doesn't require
any server-side code?
?
On Feb 9, 4:29 pm, Ricardo Tomasi ricardob...@gmail.com wrote:
Why not simply use escaped plain text?
On Feb 9, 6:04 pm, jay jay.ab...@gmail.com wrote:
I'm playing around with writing a server-side script that generates
JSONP from content that is downloaded by the script (URL is passed
I tested it and it works cross-domain with IE7 and FF3. It appears to
send the data URL encoded inside the CSS like so:
#cr0 {
background: red url(http://cssrpc/%3Ch1%3EResult%20from%20CSS
%201%3C/h1%3E);
}
#cr1 {
background: blue url(http://cssrpc/%3Cp%3EThis%20is%20lorem%20ipsum
I imagine a switch is the same speed as a hash (switches generally
evaluate to a hash). Using a trie structure could be faster than
regex in some circumstances I imagine:
http://en.wikipedia.org/wiki/Trie
On Feb 3, 12:45 pm, Eric Garside gars...@gmail.com wrote:
In that case, wouldn't a
I wrote a quick plugin to replace alert (I didn't like that I couldn't
copy and paste from the alert window, and that it was modal). I
decided to use window.open instead of absolute divs to show it. I've
also used toJSON plugin for when an object is passed in. Faced a
couple of problems with
I think the method you are looking for is closest
On Jan 28, 12:39 pm, kgosser kgos...@gmail.com wrote:
Hello, pretty noob question here. I have this example:
div
form
div
labelExample/label
input type=text/
/div
/form
/div
Now let's say there's
http://docs.jquery.com/Traversing/closest
On Jan 28, 12:39 pm, kgosser kgos...@gmail.com wrote:
Hello, pretty noob question here. I have this example:
div
form
div
labelExample/label
input type=text/
/div
/form
/div
Now let's say there's this
html('') calls empty() so starting with 1.2.2 it will also remove all
event handlers and internally cached data.
On Jan 28, 11:48 am, René renefourn...@gmail.com wrote:
I have a dynamically generated a long list of items with events bound
to them. I was wondering, when I clear the list, or
This could be accomplished using a synchronous xmlhttp call (does
jQuery even support this?), or you could put a while loop before the
return true to poll a variable that is set in the callback. You would
probably want to set the variable if there is an error as well so that
the browser doesn't
traversing like this:
$(this).parent.().parent().prev().prev().prev().children(p.example);
If you see what I'm getting at?
On Jan 28, 11:42 am, jay jay.ab...@gmail.com wrote:
http://docs.jquery.com/Traversing/closest
On Jan 28, 12:39 pm, kgosser kgos...@gmail.com wrote:
Hello, pretty noob
with 1.3.1 I'm able to get pixel measurement from percent with no
problem.
example:
body
script src=jquery.js/script
div id=d1 style=width:100%;border:1px solid black
div id=d2 style=width:90%;border:1px solid black
div id=d3 style=width:90%;border:1px solid black
div
http://docs.jquery.com/Events/focus
On Jan 28, 9:28 pm, Alex blackange...@gmail.com wrote:
hi all,
i'm new to jQuery, how to use onfocus event with jQuery ?
Could you give me a demo ?
Thank you!
Alex
can u post your code?
On Jan 28, 10:41 pm, AbhishEk mithuabh...@gmail.com wrote:
Hi,
i have a page on which i have used$.ajax for asynchronous call which
works quite f9 in firefox but it is not working in IE ..
Plz help
abhishek
you can also debug javascript with visual studio
On Jan 28, 2:37 pm, Vaughn meest...@gmail.com wrote:
I'm new to Jquery, but one thing I'm having trouble with is
troubleshooting my code.
For example, I have a page, and things work until I perform a certain
action.
No errors result,
You could do it this way:
http://docs.jquery.com/Ajax/load
You can pass a selector to load() to pick what you want from the
response.
On Jan 27, 7:29 am, JS London jus...@alphainitiatives.com wrote:
Hi,
I would like to pass an fragment of HTML as a field in my Ajax
response and then insert
You could also try changing frag to div class=frag instead. For
example this worked in firefox but not IE:
body
script src=jquery.js/script
frag
div class=cityboxh2 class=citytitleCity of London/h2p
class=descLondon is on the River Thames/p/div
/frag
hr/
div id=myid/div
script
var frag =
It actually makes sense, because you've only created one element here:
var handle = $('spanClick me/span');
By doing append() on a set of elements using this one element, it may
be implying you would like to clone this element for the elements
after the first one, but it's not completely
be an optional boolean passed to the event
handlers to specify carrying over event handlers like there is with
the clone() method?
There is. That's exactly what live() does. You just define it before
runtime.
On Jan 27, 10:06 am, jay jay.ab...@gmail.com wrote:
It actually makes sense
Also will want to compare position of mouse to width of window and if
the difference is less than the width of the dialog then position
tooltip to right, else to the left
Here is the link for the width() property:
http://docs.jquery.com/CSS/width
On Jan 27, 9:45 am, Adam apcau...@gmail.com
, shorter, more efficient,
cleaner, and easier to use. Perhaps it's just that I'm not
understanding a situation in which I'd run into trouble using it over
an object, kept in memory, with a forced clone(true) bound to it. Can
you think of any?
On Jan 27, 10:36 am, jay jay.ab...@gmail.com wrote
and not apply new styles,
just:
$('ul li').each(function(){
$(this).append($('spanClick me!/span').click(function(){}))
});
On Jan 27, 11:14 am, jay jay.ab...@gmail.com wrote:
It's not that I prefer it. I think live()/die() makes sense because
the event lives on for all matching
of course if there are other things that may need to be customized
about the event(s) in question it might make more sense to pass in an
options object.
On Jan 27, 11:30 am, jay jay.ab...@gmail.com wrote:
I thought the point was to avoid the each()? What's wrong with:
$('ul li').append
here. It's also nice to be able to excise my event
declarations from my dom manipulations.
Again, I can't think of a situation where your method would be better
in any way than using a live event.
On Jan 27, 11:37 am, jay jay.ab...@gmail.com wrote:
of course if there are other things
Look at the test case I made here and let me know if it helps:
http://jquery.nodnod.net/cases/73
On Jan 27, 3:36 pm, jquertil til...@gmail.com wrote:
If i want to do something in a parent frame, I would do this:
$('#myDiv', top.document).hide();
but what about this following scenario? I'm
the $(frames.frameName.document).ready is not actually working on
firefox.. you would probably have to put $(document).ready in the src
page and poll it to see if the document is actually ready
On Jan 27, 4:27 pm, jay jay.ab...@gmail.com wrote:
Look at the test case I made here and let me know
This seemed to work on FF and IE:
$('#myiframe')[0].onload=function(){
$(body,frames.frmName.document).html('test')
}
On Jan 27, 3:36 pm, jquertil til...@gmail.com wrote:
If i want to do something in a parent frame, I would do this:
$('#myDiv', top.document).hide();
but what about this
Yes, and on top of that I put an alert in the jquery-1.3.1.js to see
if it was finding the file correctly and it is, I got the alert before
the page loaded.
On Jan 23, 8:20 pm, Mike Alsup mal...@gmail.com wrote:
This is the same error I get when I was building the app and the id,
gid3 in
could this be why?:
Note that if gradients are used, you will need a min-height (or fixed
height) rule on the body of the dialog. If these examples appear *funny at
the bottom*, it is because they do not enforce the min-height rule.
On Mon, Jan 26, 2009 at 12:33 PM, Vik v...@mindspring.com wrote:
To add canvas support to IE you can use the following script (slower, but
works):
http://code.google.com/p/explorercanvas/
On Mon, Jan 26, 2009 at 2:41 PM, Eric Garside gars...@gmail.com wrote:
Canvas is probably the most elegant way to go, especially given the
type of knobs you want. My
When I click any of the links I get jQuery undefined script error line
119 in IE
On Jan 24, 8:20 am, Charlie22 ch...@post.cz wrote:
sry it didnt work, because console.log there..
On 24 Led, 14:12, Charlie22 ch...@post.cz wrote:
thx for tip, but no success. Try to check this
I've used negative values on IE7 before.. Is a different DOCTYPE
possible?
On Jan 24, 7:42 am, Mike Alsup mal...@gmail.com wrote:
$('#' + popupId).dialog({
autoOpen: true,
resizable : false,
was looking for!
Thanks too Jay and Mauricio, but i was looking for something more
scalable, for tons of thumbnails, with centered position scale!
Anyway, is there a way to execute just one time a function within the
hover event? (and no repeated multiple times during the hover state)
Thanks all you
html,body{height:100%} sometimes works.. try googling it.. getting
height 100% for any element is a common problem..
On Jan 24, 8:15 pm, laredotorn...@zipmail.com
laredotorn...@zipmail.com wrote:
Hi,
I'm trying to get my iframe to occupy 100% of its parent block
element. But the height=100%
Is there a way to determine a drop container without looping through
each container and comparing absolute positions? This is the only
solution mentioned in this article:
http://www.webreference.com/programming/javascript/mk/column2/2.html
I don't want to have to move the item being dragged
this should work:
$(#elementID).click(function(){alert('clicked')});
On Jan 23, 10:20 am, KidsKilla kidski...@gmail.com wrote:
Hi everyone!
I have a problem with binding events in jQuery. I didn't figured out
why, but when i'm tryin to bind a callback to links ( $(elm).click
(function() ),
qwert
On Jan 23, 7:10 am, Agile Consulting agile.scrapp...@gmail.com
wrote:
asd
If you just postback the page, the table should be restored to the
original state. Otherwise, if you have a unique id for each row you
could try creating a hash table which returns the unique id based on
the row number (create the hash table when page is first loaded).
Then you could just loop
I amend what I said. A hashtable is not necessary for going from row
number to unique id, an array is fine. Going from unique id to row
number, however, is necessary.
On Jan 23, 11:16 am, jay jay.ab...@gmail.com wrote:
If you just postback the page, the table should be restored
I have various jquery apps. In 1.3.1 I get the error $
('#id3').functionName is not a function.
I switch to 1.2.6 and everything works fine. Anyone else running into
this?
Are you including any other js files? Perhaps it's confused about $.
Try a simple html file like this:
html
head
script src=jquery-1.2.6.js/script
script
$(function(){
$(#elementID).click(function(){alert('clicked')});
});
/script
/head
body
div id=elementIDasdf/div
/body
/html
On Jan 23, 10:20
Unfortunately, no, classified type site. Here is code though with
details removed that may be problematic. There are 2 function using
jquery, flexigrid, and a function I wrote called flexDestroy.
This is the same error I get when I was building the app and the id,
gid3 in this case, did not
If you do:
$(anyElement).html(div id=blahblah/div);
then you will need to do:
$('#bla').bind(click,function(){.});
after the html() call.
Does this answer your question?
On Jan 23, 11:30 am, aldana ald...@gmx.de wrote:
I am binding elements inside document.ready():
Would mydiv.children(#childdiv).css(font-weight, bold); work?
On Jan 23, 12:57 pm, corb corbinc...@gmail.com wrote:
This may obvious, but I haven't seen any examples that fit what I'm
trying to do. In many places in my code, I will select an element once
into a var and make necessary changes.
That makes more sense.. children() will only do immediate
descendents. You could also do mydiv.find(expr) as well I suppose.
On Jan 23, 1:04 pm, Eric Garside gars...@gmail.com wrote:
var mydiv = $('#mydiv');
$('.childdiv', mydiv).css('font-weght', 'bold');
On Jan 23, 12:57 pm, corb
').flexDestroy();}
On Jan 23, 9:04 am, Jay leffu...@hotmail.com wrote:
Unfortunately, no, classified type site. Here is code though with
details removed that may be problematic. There are 2 function using
jquery, flexigrid, and a function I wrote called flexDestroy.
This is the same error I
This worked for me:
head
script src=jquery-1.2.6.js/script
script
$(function(){
$(#myEl).wrap(span/span).parents().each(function(){alert
(this.tagName)})
});
/script
/head
body
div
b id=myElsomething/b
/div
/div
/body
On Jan 23, 1:24 pm, Nic Hubbard nnhubb...@gmail.com wrote:
I ran into a
.. but then that wouldn't be the jQuery way..
On Jan 23, 1:29 pm, aldana ald...@gmx.de wrote:
yes this was it.
when not using html() and setting values with normal dom-operations
instead I wouldn't need to rebind, correct?
jay-125 wrote:
If you do:
$(anyElement).html(div id=blahblah/div
perhaps you need to do this.module = {...}? Doing var module makes it
private I believe
On Jan 23, 3:31 pm, jquertil til...@gmail.com wrote:
I'm using frames (don't ask) and have exhausted my abilities
(sniff)... here is some pseudo-code to illustrate the situation:
That makes sense. I think you just need document if you need to access
the other frame's DOM tree.
On Jan 23, 4:04 pm, jquertil til...@gmail.com wrote:
oh! I got it. thanks Jay, your suggestion gave me the hint I needed to
figure it out.
removing var did 1/2 the trick, the second 1/2 was me
Here is a jquery autocomplete plugin I googled and seems to do what
you want:
http://www.pengoworks.com/workshop/jquery/autocomplete.htm
On Jan 23, 4:00 pm, bittermonkey brakes...@gmail.com wrote:
How do I initialize a hover on a A HREF tag using cursor keys in
jQuery? It's similar to how
...@gmail.com wrote:
The code is a bit overwhelming for just the highlight functionality.
Thanks anyway.
On Jan 23, 4:17 pm, jay jay.ab...@gmail.com wrote:
Here is a jquery autocomplete plugin I googled and seems to do what
you want:
http://www.pengoworks.com/workshop/jquery/autocomplete.htm
out which element was selected, I have to check for
its background? Is that right?
On Jan 23, 4:49 pm, jay jay.ab...@gmail.com wrote:
You could write something yourself fairly easily. Just update the
backgroundColor css property when you press the up/down keys on your
absolutely
I would assume that it doesn't like the \{0} part.. is this server-
side code or something?
On Jan 23, 4:56 pm, gvangass gvang...@gmail.com wrote:
Hi
Is there a reason why: alert($('#id\{0}___').val());
not displaying the value, also no error with Firebug
but
I get javascript errors in IE, and the images overlap the content in
firefox.. what am I looking for exactly?
On Jan 23, 3:03 pm, Christian christian.swe...@gmail.com wrote:
Hey everyone.
I'm still a bit new to the whole jQuery world. I love what I've seen
so far, and it seems fairly simple
based on this wouldn't the syntax be alert($('#id\\{0\\}___').val
()); ?
On Jan 23, 5:19 pm, Mauricio \(Maujor\) Samy Silva
css.mau...@gmail.com wrote:
You must escape properly weird characters in ID values.
Have a look
just reload it with whatever is in the data variable. $(#myUL).html
(data) will do the trick assuming your data is just html like li1/
lili2/li
On Jan 23, 12:46 pm, Good Knight kyleakni...@gmail.com wrote:
Is there an easy way to reload a section of a page?
I have a .post() that updates the
this works for me.. style is bad though sorry had to do it quick:
body
script src=jquery.js/script
a id=testsomething/a
img id=scale_img src=img.gif/
script
$(function(){
scaleImg = $(#scale_img);
scaleImg.w = scaleImg.width();
scaleImg.hover(function(){
scaleImg.width(scaleImg.w*2);
},
something like this might work:
$(document).scrollTop(getRealTop(accordian));
function getRealTop(el){
yPos = document.getElementById(el).offsetTop;
tempEl = document.getElementById(el).offsetParent;
while (tempEl != null) {
yPos += tempEl.offsetTop;
tempEl = tempEl.offsetParent;
}
return yPos;
You could try using a regular expression to exclude xml tags.. of
course you would need something that gives more info than text().. I'm
not sure what the function is for xml.. perhaps html() or contents()
will work
On Jan 23, 6:01 pm, Nicholas nbar...@gmail.com wrote:
For a short summary on my
Something like this should work:
str = $(textinput).val();
$(textinput).val( str.substr(0,str.indexOf(@)) );
On Jan 23, 7:51 pm, whtthehecker hecker.r...@gmail.com wrote:
Hi,
I'm trying to create a sign up form where after the user inputs their
email address when they click or tab down to
self.name
On Jan 23, 8:29 pm, jquertil til...@gmail.com wrote:
whats the best way to find the frame name of a click event?
in FF I managed to do this:
$('#'+e.view.name, top.document)
but
e.view.name is undefined in IE.
Here's an example using the index() function:
head
script src=jquery-1.2.6.js/script
/head
body
table
tr
tda0../a/td
tda1../a/td
tda2../a/td
tda id=linkID3../a/td
td class=testa4../a/td
/tr
/table
script
test = $(td.test);
alert( $(tr td).index( test ) )
test = $(td a#linkID).parent();
alert(
Perhaps the cache:false option is necessary? It adds a timestamp to
the end of the querystring. The browser may be caching the request
and therefore not showing potential errors. But then that wouldn't
explain the descrepency between apache and iis.
On Jan 22, 11:55 am, Stefano Corallo
You can store information in a hidden input field (or fields) across
postbacks (stores text only). Reference this field when the document
gets loaded to either render your menu the way it needs to be
rendered, or to adjust its state to reflect the state that was saved.
This is how ASP.NET
I think you can just do something like this to freeze the table header
element:
$(table th).css(position,relative);
Not sure how well it works across browsers. I had issues with this on
IE7 when I later tried to resize the overflow:scroll div.
On Jan 22, 11:15 am, Mandrake mandrak...@gmail.com
Perhaps table is case-sensitive?
On Jan 22, 3:53 pm, bittermonkey brakes...@gmail.com wrote:
Hi,
I need to know where I am doing wrong. The ALERT message in my jquery
code doesn't seem to get hit when I put a breakpoint in firebug. The
plan is to loop through all the TABLE Elements in the
hi there,
is a drag and drop fileupload with jquery possible? are there existing
plugins?
thanks in advance
jay
I do sincerely apologize for my tone in my previous message. It's merely all
too common for me to spend hours researching something I know should be
fairly simple only to find scores of pages full of posts telling me how
not to do it but not taking the time to tell me how to do it right. Thank
you
Thought it was pretty cool, so I threw my own plug in together in a
little over an hour to mimic what he did there. It's pretty simple
but should work in ie6/7,ff,safari. You can set a few different
options, and I'm sure this could be expanded upon to give it a lot
more power. Anyway, here
How can I pass this object as an hidden form field back to my PHP
controller as an array?
What would php do with a javascript object if you passed it?
Perhaps you should be passing some property of the object instead?
On Nov 1, 8:54 am, jetm [EMAIL PROTECTED] wrote:
In multiple select:
select id=select1 name=select1 multiple=multiple
optionFlowers/option
optionShrubs/option
optionTrees/option
/select
I want with a output like this: Flowers2; Shrubs2; Trees2;
I using this
var
You're using each() to extract the selected options. That will not
work as written.
You need to select the child nodes that are option's, See the
selector below.
You also need to move the result write after the end of the loop.
html
head
script src=jquery-1.2.6.min.js
Has someone else already posted this bug?
The following code shows jquery failing to detect the termination of a
tag.
Load the page and click on the word login. The selector should find
the empty
div and display the html content (nothing). Instead shows the span
closing tag
and the javascript
1 - 100 of 171 matches
Mail list logo