I do not use any backend (if by that you mean server-side stuff that
queries a db or something like that), I have such small datasets so
all data is loaded statically in the html-file.
I have tried to combined formatItem, formatMatch and formatResult to
get what I want, but I have not managed to
Well, .val() on the select element returns the current value, so you
can simplify that:
$('select#myselect').change(function(){
var itemText = $(this).find('option:selected').text();
var itemValue = $(this).val();
$( '#answer' ).text( itemText + ' is number ' + itemValue );
});
or go even s
On May 13, 1:29 pm, Peter Warnock wrote:
> [ ] is an array literal, like { } is an object literal.
>
> var obj = json[0];
>
> You shouldn't useevalon JSON. If you specify 'json' as your return
> type, jQuery will safelyevalvalid JSON.
>
jQuery uses what ECMA 262 calls "indirect eval".
window
Paypal Transaction ID: 8PY233604R986225R :D
Thanks for your help.
Actually, there were 2 parts that I didn't get.. one was the CSS
selector syntax and how it needed to be formed inside of the initial
grab..
Thats the learning curve. the way that 'day[name=Monday]show' didn't
make any sense to
Paypal Transaction ID: 8PY233604R986225R :D
Thanks for your help.
Actually, there were 2 parts that I didn't get.. one was the CSS
selector syntax and how it needed to be formed inside of the initial
grab..
Thats the learning curve. the way that 'day[name=Monday]show' didn't
make any sense to
I have been able to show iframes with jquery easily, but for some
reason I cant this one to work.
I am using the same exact setup in the same page to show this one, but
it is not working like the other three.
I need the iframe to fadeIn once an image is clicked.
I have narrowed it down to class
http://demo.ashwebthemes.com
In the main navigation at the very top and the categories in the
second level navigation. Can't get either of them to adjust to a
proper width.
I am trying to use the cycle plugin but all I get is a static list. I
have checked to make sure all my code is matching with the demos
online and still I dont get anywhere.
I have loaded this code inside the .ready function
$('#s1').cycle({
fx: 'fade',
speed: 'fast',
timeout: 0,
n
Hi,
To get data of a row you need to use id of that row.
var row_data = $('#row_id').html();
To insert into your your form textarea
Again you need to use id of that textarea.
like :
$('#textarea_Id').html('Some string value you can pass here '+row_data);
Hope you will solve your problem & hope I
what i decided to do is "unroll the loop", for example:
if you have this loop:
for(var i = 0; i <= 9; ++i) alert(i);
then you could "unroll" it to this:
alert(0);
alert(1);
alert(2);
...
alert(9);
since i only had a total of 9 iterations of the loop, then it would only add
a little bit to file
Hi,
I am trying to implement the visual example within IE6, i.e:
http://flowplayer.org/tools/demos/scrollable/visual.html
but unfortunately the navigation bar along the top does not display as
a single row but as two rows of small circles.
As mentioned, works great in FF but there seems to be
Can I just thank you guys!! I've wasted hours trying to fiddle around
with selectedIndex and stuff; the best I achieved was to get the html
object returned :(
It wasn't clear from the docs. Confusingly, I did get the option text
with $( 'select#myselect option:selected' ).text(). But I couldn't g
Can anyone help me get this data passed into my url alongside the
element name?
On May 15, 11:54 am, Field wrote:
> $("#Form").validate({
> rules: {
> storename_name: {
> required: true,
>
And now for the "teaching" part of the request...
KrushRadio, the crucial part that I believe you wanted to be taught
about is:
$('day[name=Monday]>show', data)
If you're familiar with CSS selector syntax, that's a great head-
start.The full details can be found at http://docs.jquery.com/Select
It's in the css for the template. The parent container #search has
overlflow: hidden, so your menu isn't showing outside the size of the
search tag, works fine when turned off in firebug
rui wrote:
Could you explain me how to do that? Is it inside superfish module? Or
do i have to edit a s
donb because passing xml can be much smaller then passing the data
with html wrapped around it.
On May 17, 6:41 pm, donb wrote:
> I can't figure out why you want to pass data in a non-usable format so
> you have to whack away at it with lots of code to turn it into what
> you need. Why not gener
$(function(){
$.ajax({
type: "GET",
url: "test.xml",
dataType: "xml",
success: function(data){
$('day[name=Monda
$(function(){
$.ajax({
type: "GET",
url: "test.xml",
dataType: "xml",
success: function(data){
$('day[name=Monda
Hi Jorge,
Can you show me a page that has that problem so I can troubleshoot?
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On May 16, 2009, at 6:13 PM, jorgevima74 wrote:
Hi!
I'm using jquery.expander and I'm getting twice the userCollapseText
value ( [co
I can't figure out why you want to pass data in a non-usable format so
you have to whack away at it with lots of code to turn it into what
you need. Why not generate what you need to start with, so the task is
reduced to simply requesting a chunk of html and inserting it into the
DOM.
On May 17,
I want to make my error messages position absolutely so they do not
resize my form when they appear.
The problem is the parent of all the label.error is the form so when I
do
label.error { position:absolute; background:url(images/
validArrow.png); width:300px; color: red; left:300px; top:10px
p
I have resolved all issues now and it's working, thanks for all the
help! This is the code I have right now:
function ajaxAdd() {
$('form').submit(function() {
var nick = document.register.nick.value;
$(':submit', this)
Could you explain me how to do that? Is it inside superfish module? Or
do i have to edit a specific file?
Rui.
On May 16, 5:13 pm, Charlie wrote:
> fix your overflow: hidden in parent div
> rui wrote:Sorry! Here it is:www.freequizzes.info/codigoOn 15 maio, 18:21,
> Ethan Matejawrote:Link? On F
Sweet.. !! :)
On May 17, 2:43 pm, Mike Alsup wrote:
> > Secondly: "cleartypeNoBg: true" worked for me for IE6 DIV background
> > color but it was hard to find cause it wasn't on the website at ...
>
> >http://www.malsup.com/jquery/cycle/options.html
>
> > Maybe this should be added.
>
> Good po
I have a slideshow set up here, for reference:
http://www.littlerobothead.com/secret.php
You'll be able to see the slides as they overlap when using the "next"
or "previous" buttons. The CSS that controls the slides themselves
is:
#top-feature { /* this is the parent container */
height
I have a slideshow set up here, for reference:
http://www.littlerobothead.com/secret.php
You'll be able to see the slides as they overlap when using the "next"
or "previous" buttons. The CSS that controls the slides themselves
is:
#top-feature { /* this is the parent container */
height
I need to play an audio file in response to a user action. The player
must be completely cross-browser compatible, and hopefully use an
available plug-in. jQuery.media seems to be the ticket, but while I
can get it to work in manual mode, it doesn't autoplay for me.
This may be a problem with p
I saw a tutorial like this: http://srobbin.com/blog/jquery-pageslide/
It might be something you can modify or add functionality.
- Chris
On May 17, 12:08 pm, blackjak231 wrote:
> i forgot to add the
> image:http://www.casimages.com/img.php?i=090517055258648972.png
No ideas anyone?
On May 16, 12:55 am, "Chris J. Lee" wrote:
> I've been looking for a plugin to be able to use the mouse and
> eventually theiphoneto flick and navigate through a page.
>
> Does anyone know if there are examples that exist currently. I think
> i'd probably have to implement it u
Hey Guys/Gals,
I have been able to use JQuery in the past, for simple things, and
after much hacking around, i have been able to get it to work. I want
to embrace this technology, but I can't get past the examples.
They're very basic, and I can't wrap my head around how to move them
into real wo
> Secondly: "cleartypeNoBg: true" worked for me for IE6 DIV background
> color but it was hard to find cause it wasn't on the website at ...
>
> http://www.malsup.com/jquery/cycle/options.html
>
> Maybe this should be added.
Good point - just added it.
Hello.
First of all, I'm German, so be warned ;)
I've got a problem and my very hope are you guys (and girls).
Here is my code I use to make a ajax request:
$.ajax(
$.extend(ajax, {
data: { cmd:'ping', username:session.username,
timestamp:ping.last },
er
Hello,
i have no clue why it is like this, but in the following code, the
"errors" variable doesnt count +1:
$.get("functions/checkforms.php",{doesuserexist: loginusername,
doespasswordexist: loginpassword}, function(data){
if (data) {
$("#loginpassword_error").show().append(data);
First: I love this plugin. I am using it for news headlines and for a
image gallery!
Secondly: "cleartypeNoBg: true" worked for me for IE6 DIV background
color but it was hard to find cause it wasn't on the website at ...
http://www.malsup.com/jquery/cycle/options.html
Maybe this should be add
sorry error
here this works
$(function(){
var obj = $(".item");
var alert = $(".alert", obj);
obj.hover(function() {
var current = obj.index($(this));
alert.eq(current).hide(500);
}, function() {
alert.eq(curent).show(500);
});
});
On Sun, May 17, 2009 at 6:24 PM, waseem sabjee wrote:
>
>
> $
$(function(){
var obj = $(".item");
var alert = $(".alert", obj);
obj.hover(function() {
alert.hide(500);
}, function() {
alert.show(500);
});
});
On Sun, May 17, 2009 at 12:16 PM, napalm wrote:
>
> Hi All,
>
> I have 3 divs with the same name wrapped in a container.
> Each div includes a span
$(document).ready(function(){
$(".loginToggle").click(
>
> function(){
>$("#loginForm").*slideToggle*("slow");
>});
>
> });
On Sun, May 17, 2009 at 5:21 AM, Jere wrote:
>
> Try this:
>
> $(document).ready(function(){
>$(".loginToggle").click(function(){
>
i forgot to add the image:
http://www.casimages.com/img.php?i=090517055258648972.png
Hey guys!
Im trying to use jquery to try to do what the image shows:
Its for a website made for iphone so im trying to add the slide
effect.
It all seems a little complicated, but ill explain:
1-The user clicks a link
2-A loading message (or image) appears ---> Meanwhile, the new
page loa
I have a problem with submitting a form with ajaxSubmit - I am very
confused because on a other page it is working the same way?
here some code:
$("#myForm1").validate({
submitHandler: function(form) {
$(form).ajaxSubmit({
ta
conflict mootools and jQuery
$(function(){
$(':password').keyboardLayout();
});
try such but dont work
jQuery.noConflict();
jQuery(function(){
jQuery(':password').keyboardLayout();
});
=
jquery.keyboardLayout.js
==
(function() {
jQuer
try a new tool bar i heard it was the tool bar link .
On Sat, May 16, 2009 at 12:06 AM, Simon Chiang wrote:
>
> Hi, I've run into this issue as well. I made an example extension to
> illustrate what happens:
>
> http://gist.github.com/112562
>
> The gist has instructions for how to set everythi
I understand this may be a generic issue with wp 2.7, but I can't get
sub categories listed when using &include=1,2,3,4 etc.. with
wp_list_categories.
Does anyone have a fix for this...I need to show only specific
categories and their children in each menu and would like to use
superfish or othe
Hi all,
How to replace hardcode_value in jquery library
with something more flexible value (for example something value from
html document)?
For example I'd like to substitute
the "hardcode_value" (in jquery file)
with the value "input1" (in html document).
thanks
Antonio
"html document"
De
Hi All,
I have 3 divs with the same name wrapped in a container.
Each div includes a span.
At the moment, when you hover over a div, its displays all spans.
What i want is if you hover over a specific div, i would like to
display it's span only.
Is this possible ?
$(document).ready(functio
I'm using JQuery 1.3.2 in my site. My requirement is to send some
information to server side and retrieve xml back. Unfortunately when I
send my parameters to server I always get the message: "This XML file
does not appear to have any style information associated with it. The
document tree is show
(Custom animation) exit then
(Dissolve out) and slow speed down do the same for the next one only for
entrance
On Fri, May 15, 2009 at 7:35 PM, Amar wrote:
>
> Hi,
>
> I am just wondering if anyone knows if it is possible to fade the
> transition between switching one CSS to another? I am cu
Try this:
$(document).ready(function(){
$(".loginToggle").click(function(){
$("#loginForm").toggle("slow");
});
});
Is not only fading, but more or less i think is what you need.
Hi,
The fact is, I want to have diferent functions depending on the 'msg'
variable.
For example, if the msg variable is "error" i want son events to hapen
a some other events not.
My code is this:
$('#login').ajaxForm({
url: 'revisar.php',
before
Hi,
I have been using clueTip, and decided to use the hoverIntent feature.
Unfortunately, in some cases, the tooltip does not hide when I move
away from the element, and stays displayed forever.
It happens when I move quickly the mouse out of the element after a
very short delay (the tooltip is a
Now that I have learned to use cluetip relatively well,
1. I want to congratulate the author for a job really well done. I am
going to look up his book in the local book-store.
2. I have automated my entire online help system using his Ajax calls
technique and it is working great! From a Ruby
On May 17, 7:14 am, kali wrote:
> On May 6, 12:18 am, Karl Swedberg wrote:
>
>
>
> > On May 6, 2009, at 12:05 AM,kaliwrote:
>
> > > On May 5, 10:05 pm, mkmanning wrote:
> > >> Accessing the elements by index returns the element itself. To call
> > >> jQuery methods you'd need to do this:
> >
On May 17, 7:14 am, kali wrote:
> On May 6, 12:18 am, Karl Swedberg wrote:
>
>
>
> > On May 6, 2009, at 12:05 AM,kaliwrote:
>
> > > On May 5, 10:05 pm, mkmanning wrote:
> > >> Accessing the elements by index returns the element itself. To call
> > >> jQuery methods you'd need to do this:
> >
On May 6, 12:18 am, Karl Swedberg wrote:
> On May 6, 2009, at 12:05 AM, kali wrote:
>
> > On May 5, 10:05 pm, mkmanning wrote:
> >> Accessing the elements by index returns the element itself. To call
> >> jQuery methods you'd need to do this:
> >> divs = $('div');
> >> div2 = divs[2];
>
> > TH
I have resolved the multiplying of data error, there was some code in
there that I thought I removed.
I have uploaded the script so you can test it at http://dev.nahaz.se
On May 17, 12:13 pm, Nahaz wrote:
> Upon adding return false; to my submit function a most troublesome
> error has appeared.
Upon adding return false; to my submit function a most troublesome
error has appeared. When you add data, the first time 1 post is
inserted to the db like it should, second click though will generete 2
posts, third 3 posts and so on.
Also my adding and removal of the attribute "disabled" to the b
I finally get it working by specifiying custom focus and open events
in the dialog settings. Here they are :
// Setting new tabindex to input elements
focus: function(e, ui) {
$(e.target).find(':input:visible').each(function(i) {
$(this).attr('tabindex', 3+i);
sorry for the late reply, but you need to fire cascade manually at the
end of the delegate and you can simplify your options, though I'd
consider using $.data for this kind of thing:
var defaultOpts = {
ajax: {url: ‘otherData.js' },
template: commonTemplate,
match: commonMa
I've found out (that gave me another hard hour), that in IE click
event gets routed from image to associated map - automatically. I
guess this issue should be handled by jQuery guys somehow.
On May 17, 10:38 am, jayarjo wrote:
> Thanks. I've figured it out.The problem is, that the image getting
Thanks. You guys are great!
On May 14, 2:42 am, "Richard D. Worth" wrote:
> See
>
> FAQ (Frequently Asked Questions): Why doesn't an event work on a new element
> I've
> created?http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_ev...
>
> - Richard
>
> On Thu, May 14, 2009 at 2:
Hello All ,
I am using jQuery Pagination ,
the demo one is pagination with static data ,
Now i changed that static pagination into dynamic(retrieve data from db) ,
But the problem is ,
I cant display more then one row per page ,
Please find the attachment ,,
Thanks
--
உங்கள் நண்பன்
பரணி
61 matches
Mail list logo