Erm.. no.
What you can do is have 2 controls.
1. Dummy control to display value (split).
2. Actual control that takes an input (not split).
Show/hide at your disclosure and voila!
On Apr 3, 10:29 pm, AsymF [EMAIL PROTECTED] wrote:
Sorry, nevermind about the metadata. I
I made a new custom input for Jeditable. It uses Chrys Baders
excellent Autogrow plugin. Even custom input is only few lines of code
I wrote a small tutorial to show how it was built.
http://www.appelsiini.net/2008/4/autogrow-textarea-for-jeditable
Also separate demo here:
Richard,
Thanks for your fantastic advice on my next problem.
I realise that the way I initially asked the question I didn't explain
the requirement in enough detail. Here's my challenge:
- I have a valid xhtml document that contains a a name=ScrollTo
class=scrollTo / tag. I don't know where
with dom elements that actually exist, your example works fine.
perhaps there is a problem elsewhere...
On Apr 3, 8:19 pm, ScottBruin [EMAIL PROTECTED] wrote:
Please pardon my poor understanding of javascript basics:
I've been using the following method to create an object array of
http://patterntap.com/hover-test.html
Check out the URL above for the test case. The flicker happens in all
browsers (IE 7, Firefox and Safari).
The showonhover appears on when the parent div is hovered over.
Inside showonhover is a SELECT box. When I try to select an item it
causes the
Hi All,
I am using the awesome: Superfish v1.4.1 - jQuery menu widget
and working on getting the default 2tier horizontal, 3rd vertical
from:
http://users.tpg.com.au/j_birch/plugins/superfish/richard-willis-example/
Which is awesome, and I have implemented the show path to your
current page
Hi All,
I'm looking for a jQuery plugin for interactive topology diagrams. Topology
diagrams provide an easy to use interface and simple navigation tools by
providing a drill down approach to individual objects from higher level
objects.
I looked in jQuery plugins website and googled but
...is it simply not possible to find out if a css property has been
explicitly set?
One approach I came up with for my project that wouldn't be very
portable would be to use .data to assign a string of set values to a
custom attribute, say:
// user event handling, etc etc, then...
var
I am the author of a plugin which places example text in form inputs
that disappears on user focus (http://plugins.jquery.com/project/
example). I recently received a bug report describing the fact that
refreshing a form in Internet Explorer 6 and 7 will reload input
values without re-applying
here's what I came up with. This probably won't help in scenarios
where you need actual html wrapped around the element vs. css, but
arguably even if you're doing a CMS or something, you could easily
just pull the whole thing with .html and it's a heck of a lot nicer
than your average myspace
Hello everyone
First post, please be gentle
I need to have a search form that sends the variable to search to one
of two places based on whether or not someone clicks a radio button.
It's like tick here to only search for courses button in a search from
on a website.
The two searches are in
Hello,
Is there a way in the jquery.cycle plugin to set settings for
individual slides?
For example - set a different transition or timeout for each slide.
Thanks in advanced
Hello,
when creating simple script to add inputs dynamic i have found bug in
IE.
Inserted name of input is not visible when using html() function. Of
course
in FF is working perfect.
very simple example: http://eduteka.pl/testJQ/
Hi,
after much fiddling, i figured out that in Mozilla the
jquery.jcarousel.css gets rendered last (or has priorit) and the
classes that relate to the buttons in the mentioned file did not have
the image declaration as that resides in the skin.css file hence the
images for the arrows were not
Brilliant.
Thanks so much.
Matt
On Apr 3, 5:15 pm, Mike Alsup [EMAIL PROTECTED] wrote:
I'm pulling the content for the cycle plugin dynamically. Frequently
it will be rendered vertically, before constructing the actual
horizontal carousel.
The vertical rendering is how things look
Hi,
I have jQuery 1.2.3 and the Form plugin 2.07.
I don't know if I'm doing some wrong here, my PHP code seems fine but
here's the problem. If you just upload an image (don't fill OR fill in
the text fields) it seems to skip all my PHP validation and just
reload the page into the output DIV on
Is there a way in the jquery.cycle plugin to set settings for
individual slides?
For example - set a different transition or timeout for each slide.
You can change the timeout in the 'before' callback, but changing the
transition is quite problematic.
$('#slideshow').cycle({
before:
You're probably assigning to searchbox before the #searchinput element
exists:
head
script
$.searchfunction = { searchbox: $('#searchinput) } // empty jQuery
object because body hasn't been created yet
/script
/head
body
div id=searchinput/div
script
console.log
I don't know if I'm doing some wrong here, my PHP code seems fine but
here's the problem. If you just upload an image (don't fill OR fill in
the text fields) it seems to skip all my PHP validation and just
reload the page into the output DIV on success. Now this isn't right
and I don't
OK I feel a bit silly now but it turns out buttons are not submitted
when a file is uploaded. I've used a hidden field instead and it now
works. I don't know if it's a Firefox issue or part of the spec. The
button gets submitted when you don't upload an image. So weird!
On Apr 4, 12:32 pm,
OK I feel a bit silly now but it turns out buttons are not submitted
when a file is uploaded. I've used a hidden field instead and it now
works. I don't know if it's a Firefox issue or part of the spec. The
button gets submitted when you don't upload an image. So weird!
If you give the
I tried that too after I posted and still doesn't get POSTed. The
hidden field has fixed it so I'm not going to look too much further
into it. Thanks for your input Mike.
Nick
On Apr 4, 1:28 pm, Mike Alsup [EMAIL PROTECTED] wrote:
OK I feel a bit silly now but it turns out buttons are not
Yeah, I had thought about doing that. Even overlapping them. Was just
wondering if I had somehow missed a simpler way of doing it. :)
One other thing. I can't get this version to work at all in IE 7 when
the stars are split. The stars don't show up. Even the radio buttons
won't show up.
On Apr
=== jQuery code ===
$(function(){
$(a.toggle)
.click(function(){
if ( $(this).parent(fieldset).hasClass(collapsed) )
{
$(this).parent(fieldset).removeClass(collapsed);
}
I've been using jCarousel from sorgalla.com [1] to display a selection of
products [2] however when it gets to the last item when auto scroll is set
it doesn't loop.
Does anyone have a suggestion on how to sort this? I've uploaded a demo to
http://www.agsalons.com/test.html. Ideally I would like
Has anyone seen a spell checker for text areas written in Jquery?
I'm looking for one that is either stand-alone or can be used via AJAX
connecting to ColdFusion.
I would like to add a spell checker to all text areas that will work
like Gmail.
Thanks,
-Roman
mick-26 wrote:
Hello Folks,
I am having numerous problems in implementing the basic flexigrid,
Example 3 on http://webplicity.net/flexigrid/
I somehow managed to make the ASP page write the required xml back.
The problem now I am facing is with the display, the navigation
buttons on
This is murdering me and I hope someone else can see what I'm doing
wrong!
http://homeholistics.com/PROPOSAL/vanilla_treatments.php
There are supposed to be 7 images in the top menu bar - the middle 5
are Cycle slideshows. I can't get them to show up. Either ALL the
images show, or nothing
You're unlikely to get any help with this. Interface hasn't been
supported for a very long time. You should look into jQuery UI.
On Apr 3, 1:42 pm, OhNoMrBill [EMAIL PROTECTED] wrote:
Bumping this one back up...if any one has any input, or even an idea
of where to start, please jump in!
On
I fixed that behavior in Firefox by comparing defaultValue to value
the other day... maybe that works in IE as well?
--Klaus
On Apr 4, 12:38 pm, mudge [EMAIL PROTECTED] wrote:
I am the author of a plugin which places example text in form inputs
that disappears on user focus
Thanks for the tip...I actually caught that after opening a bug and
having it closed :)
On Apr 4, 7:40 am, Scott González [EMAIL PROTECTED] wrote:
You're unlikely to get any help with this. Interface hasn't been
supported for a very long time. You should look into jQuery UI.
On Apr 3, 1:42
that's a great addition to the plugin. Excellent!
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 4, 2008, at 4:26 AM, Mika Tuupola wrote:
I made a new custom input for Jeditable. It uses Chrys Baders
excellent Autogrow plugin. Even custom
Hi Nicolas, I see that you are creating around 4 or 5 global
variables, you just need to add a 'var' before.
Also you include the example in the actual source code of the plugin,
not good IMO.
I'd remove the console methods, or at least, make one function call
'log' and do the check only once.
Hi Chris,
I'm not sure why this is happening, but I think I know how to fix it.
Jörn Zaefferer and I ran into this same problem with our tooltip/
clueTip plugins the other day. Following the approach that Jörn
proposed for the plugins, you might be able to fix the problem by
making sure
Fixed it - one comma too many. And all this time I thought the problem
was in my CSS!
Apologies to anyone who tried to make sense of my increasingly-
desperate code :/
[EMAIL PROTECTED] wrote:
This is murdering me and I hope someone else can see what I'm doing
wrong!
Hi venderkerkoff,
I made 2 examples for you, the first using Javascript and the other using
Jquery:
1- Javascript
Just create radio buttons group named group1 and give each button a value
contains (the url of the new action of the form), then click on the button
(CLICK ME) to call the function
I have a page which jQuery.UI.Tabs to load content from other pages.
(See http://demos.zatechcorp.com/tcedashboard/)
On the 'Daily Budget Tracker' and 'Assets' tabs, I use clone() to add
a new table row to the form. The problem is, when I click the 'Add New
Row' button in either tab initially,
*BUMP* anybody able to assist me with this?
Hello, I'm trying to incorporate jquery tabs to a project at work. I
read in the documentation that you can bind to stages of the tab. I
would like to bind to the tabselect stage i.e.
$('.ui-tabs-nav').bind('tabsselect', function(event, ui) {
ui.instance // internal widget instance
Pretty sure that's just how it works. Clicking on a column always
makes it run the opposite of the last sort that was used.
On Apr 2, 9:30 am, cl4ncy [EMAIL PROTECTED] wrote:
Hi,
I'm finding this plugin very useful, however i have one major problem
with it (i dont know if its just me).
Hi all,
I am building a really simple jEditable (plugin) implementation with
the latest jQuery SVN. Trouble is I can't get it to work in Firefox
2.0.0.13.
In this example in Firefox, no cal is being made to the php file (php/
tabsave.php). It's just not attempting to call it at all. IE7, 6 and
OK. Not quite so perfect. At first it seemed to work fine. When I
manually set the text...
$(.ToolTip).tooltip({bodyHandler: function() {
return Add Comment
},showURL:false});
It works fine. However, when I set it as the result of a function, I
get a 'nodeType'
On Apr 4, 3:37 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
I fixed that behavior in Firefox by comparing defaultValue to value
the other day... maybe that works in IE as well?
This is fantastic, thank you very much.
When Internet Explorer caches a input's value, its value attribute is
set while
HI!
Last month i'd the same problemI mixed tabs with splitters and (in
ie6) had errors in this exactly line...
I worked with jquery v1.1.3.
the link of the thread is...http://groups.google.com/group/jquery-en/
browse_thread/thread/4dfd1f49e97ca381?hl=en
Now I am going to prove your solution
try .parents() instead of .parent() if the parent you are looking for
is not the immediate parent of the element you specify (what Andy
said).
so $(this).parents(fieldset) should work
also, perhaps you should use .toggleClass
$(function(){
$(a.toggle)
.click(function(){
There seems to be a problem with the plugin when loading external CSS
and the browser is Opera.
From what I understand Opera loads the DOM first, and then the CSS
(all others do it the other way around). For some reason external
style sheets will not be applied to the DOM (even if they are
I'm not entirely sure what you're trying to accomplish, but selecting
that first tr is easy since it has its own id, just use $
(#first).clone()
On Apr 2, 8:32 pm, Pete Kruckenberg [EMAIL PROTECTED]
wrote:
Assuming I have
table
tbody
tr id=first
td1/td
/tr
tr
Hi I am learning JQuery and Javascript so asking this simple question.
I have a text field which has default value as Day. I want when user
focus on this text field then it become empty. How can I do this using
JQuery?
s:textfield name=day cssClass=textbox1 size=3 id=dayOfBirth
value=Day
Hi,
I'm relatively new to jQuery and therefore the blockUI plugin. But,
I've tested this to the point I'm confident the problem is element
level blockUI. Result of using it on a table argument is my entire IE
6 process is killed, to the point I get the Send Error To Microsoft
dialog.
There is
I ha ve already tried to pack the farbtastic plugin with the packer
utility (http://dean.edwards.name/packer/) but there are some errors
when trying to use it.
Any suggestion? Thanks in advance.
THANK YOU FOR HELPING ME I WROTE 3 OR 4 OTHER POSTS AND NOBODY REPLY
THIS IS REALLY EVERY GOOD GROUP REALLY
On Apr 1, 10:35 pm, Trend-King [EMAIL PROTECTED] wrote:
hi there i have a question i make an ajax call with ui.tabs to an php
page in this page loaded through ajax i make a document
Just a guess, but set rel=alternate stylesheet to the style.. it
solved a problem I had some time ago, not exactly this, but I know it
is a quirk.
--
Ariel Flesler
http://flesler.blogspot.com
On 4 abr, 12:27, Nicolas R [EMAIL PROTECTED] wrote:
There seems to be a problem with the plugin when
Something like this might workd (untested):
// when the text field changes
$('#myTextField').change(function(){
// if it's empty
if ($(this).val() == '') {
// give it focus
$(this).focus();
}
};
-Original Message-
From:
Fixed it - one comma too many. And all this time I thought the problem
was in my CSS!
Apologies to anyone who tried to make sense of my increasingly-
desperate code :/
Doesn't appear to be fixed in FF. Slideshows 3-7 do not appear. If
you add display:block to the slideshow anchors and
I'm relatively new to jQuery and therefore the blockUI plugin. But,
I've tested this to the point I'm confident the problem is element
level blockUI. Result of using it on a table argument is my entire IE
6 process is killed, to the point I get the Send Error To Microsoft
dialog.
No, I celebrated too soon - thanks for checking, Mike :)
I had trouble getting display:block to work with my horizontal line -
that might better now it's all divs (I hope!). Still fretting over
this - best I've managed so far is ALL the slideshows running in one
frame! aargh.
Any advice
I'm still having trouble with this. All of my code is already written
inside the doc.ready function. The code which needs to be located
outside of the doc.ready function HAS to be able to call code within
the doc.ready body. I'd be GREATLY in debt to anyone who could help me
resolve this issue.
No, I celebrated too soon - thanks for checking, Mike :)
I had trouble getting display:block to work with my horizontal line -
that might better now it's all divs (I hope!). Still fretting over
this - best I've managed so far is ALL the slideshows running in one
frame! aargh.
Any
If I understand your question, you want the bh function to be accessible
outside the document.ready scope.
One option would be to define some global namespace, and then assign the bh
method to that global namespace object. Something like:
window.myNamespace = {};
$(document).ready(function(){
I'm still having trouble with this. All of my code is already written
inside the doc.ready function. The code which needs to be located
outside of the doc.ready function HAS to be able to call code within
the doc.ready body. I'd be GREATLY in debt to anyone who could help me
resolve
Thanks Charles Jonathan,
I can't show the page yet as it is still under wraps but I'll try out
your suggestions and report back.
Kind regards
Sean
Hello all,
Since the morning I'm trying to complete this supposedly easy
migration but for some reason it gives me a migraine %-|. The first
problem I've encounter was $ is not a function when trying to call
(previously worked with jQuery 1.1.3) function (sample call: $
You want what is often called a PlaceHolder. Nice coverage of it in
the Learning jQuery book by Chaffer and Swedberg. Basically you
want to set a focus handler that notices if the value is your
placeholder text (eg Day) and sets the text value to in that
case. It's nice if your blur handler
Hi,
I'm relatively new to jQuery and I'm using jquery.tablesorter to sort
a table. That works great, except that I need to sort a second table
in the same way to keep the rows aligned.
Basically, what I have set up is this. A tabbed interface with two
tabs. Tab 1 shows a table with computer
$('#dayOfBirth').bind('focus',function(){
$(this).val('');
});
- Original Message -
From: Raghu [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Saturday, April 05, 2008 12:55 AM
Subject: [jQuery] JQuery bigginer
Hi I am learning JQuery and
I am trying to allow a person to sort a list of items by dragging and
dropping them. I need to know the new index to where the item was
dropped into. I would imagine that value is contained in the ui
argument that is handled by the drop callback.
...
drop: function(ev, ui) {
// act on
jQuery uses the offsetHeight and offsetWidth DOM attributes for
visible elements. The w3c defines these attributes like so:
The offsetWidth attribute, when called on element A, must return
value that is the result of the following algorithm:
1. If element A does not have an
Here is my code:
pre
script type=text/javascript
//on page load
$(document).ready(function() {
//add up the cart totals and display on the page
//setup default values
var bagqty
Hi, Mike, are you still here? Your advice was good - but Cycle is
still trying to show *all* the 'slides' in one frame. The effect's
quite funny in ie7 ... Am I calling Cycle wrongly?
$('#two').cycle({
fx: 'fade',
speed: 2500,
delay:
okay...
As an interim step, and one that I really don't like, I dumped all of the
code contained within the doc.ready block, directly inside the
initBlazeDSCode method. I've got it working now, but it's ugly and I really
don't like doing it this way.
Does anyone have a better way to do this?
I've taken a look at a number of different plugins for a popup that
I'm going to be using. jqModal and the ones listed on this page
( http://dev.jquery.com/view/trunk/ui/demos/ui.dialog.html ) look like
they may work. However, each one has a problem.
I would like to retain the functionality as
Hi, Mike, are you still here? Your advice was good - but Cycle is
still trying to show *all* the 'slides' in one frame. The effect's
quite funny in ie7 ... Am I calling Cycle wrongly?
$('#two').cycle({
fx: 'fade',
speed: 2500,
OMG, you're a genius! (OK, you knew that.) Only tried it in a live
edit on FF so far, but the result's great!
THANK YOU
Will you marry me? ;)
On Apr 4, 9:55 pm, Mike Alsup [EMAIL PROTECTED] wrote:
Hi, Mike, are you still here? Your advice was good - but Cycle is
still trying to show
I've been working slowly through the same upgrade - I was getting a
similar error, and eventually tracked it down to a jquery plugin that
also needed updating. So, you might want to check for jquery 1.2.x
compatible versions of any plugins you use and see if that helps
rolfsf
On Apr 4, 11:25
it looks like there is a bug that defaults all the menus to expanded
rather than closed. any idea how this might be corrected?
Initialise as numbers instead of strings?...
var bagqty = 0;
var bagtotal = 0;
On Apr 4, 9:35 pm, Chuck Cheeze [EMAIL PROTECTED] wrote:
Here is my code:
pre
script type=text/javascript
//on page load
$(document).ready(function() {
The Selector will always return an array of zero, one, or more
elements.
I'm not sure why the distinction has been made between Element and
Array of Elements - the only reason I could come up with was that
someone wanted to indicate that certain Selectors will/should return
only one element,
I'm with you regarding the click event, but how does that solve the
problem of the state of the form (values of the input fields) when it
was submitted via AJAX?
On Feb 27, 2:43 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
History can only work with links because the whole hack relies on
changing
It seems that in IE 7 the DIVs for the stars are in fact being created
from the radio buttons as expected but the text-indent CSS is set to
-999em.
On Apr 4, 8:34 am, AsymF [EMAIL PROTECTED] wrote:
Yeah, I had thought about doing that. Even overlapping them. Was just
wondering if I had somehow
How do I set the title attribute of the anchor element of a newly
created tab?
In one case, I'm generating the tab label (tab name) and panel ID from
the title attribute of my triggering element (an anchor tab for
simplicity), but I'm truncating tab labels longer than 25 characters.
I want the
I'm using the jqueryUI to create functionality basically very similar
to the iGoogle drag and drop. I've got a number of boxes that i'm
dragging around. Basically, I've got it working so that I can drag
one and drop it on another element. Then, it will reposition itself
after that element in
A selector will always return a jQuery object. Which is an array of
elements that matched the selector - with some additional functionality.
So, $(#myElement) returns a jQuery object. Which allows us to do
things like $(#myElement).hide();
But sometimes you need the original DOM element
Wow! I think this counts as the first marriage proposal on the jQuery
discussion list.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 4, 2008, at 5:10 PM, [EMAIL PROTECTED] wrote:
OMG, you're a genius! (OK, you knew that.) Only tried it in a
grin :)
On Apr 5, 4:00 am, Karl Swedberg [EMAIL PROTECTED] wrote:
Wow! I think this counts as the first marriage proposal on the jQuery
discussion list.
--Karl
_
Karl Swedbergwww.englishrules.comwww.learningjquery.com
On Apr 4, 2008, at 5:10 PM, [EMAIL PROTECTED] wrote:
84 matches
Mail list logo