2,329 Topics

Member Avatar for
Member Avatar for Lolalola

Hi, how to run the second function only when the first will be completed in? [CODE]$(document).ready(function() { $("#first").load("first.php?id="+ Math.random()); $("#second").load("second.php?id="+ Math.random()); }); [/CODE]

Member Avatar for pritaeas
0
61
Member Avatar for Lolalola

hi, now i get value if i selected checkbox(id which was selected), but how get value when i unselected (id which was unselected)? For example I push on 1, and i get value 1. When I unselect 1, i get value 1. I hope you understand my problem. [CODE]<script> $(document).ready(function() …

Member Avatar for pritaeas
0
101
Member Avatar for freiheit

Hello all, I made a custom theme with jquery theme roller.Accordion panel and a tabs panel. The problem is that the objects are not displaying correctly as they should on my page. When i remove the link to my main css file, the jquery shows up exactly as it should. …

Member Avatar for dnirvine
0
57
Member Avatar for Manny7

Hi there, I solve a problem with jQuery plugins. On my page I need to use 3 plugins - the one is lightbox, the next is plugin for google maps. And the last plugin solves scrolling content - I click on the button and on the page shows to me …

0
63
Member Avatar for amko

I'm trying to code a play/pause button via Jquery and the Cycle plugin. I'm able to toggle between the two and the "resume" function works, but am not sure how to make the "pause" function work. Any ideas? Thanks in advance for your time! Here's my JS: <script type="text/javascript"> $(document).ready(function() …

Member Avatar for amko
0
161
Member Avatar for Frankey

Hi there, I have a piece of code that should give my category list a nice accordeon effect to show the sub categories. [CODE] <ul class="categorymenu"> <li class="cat-item cat-item-10"><a href="...">cat1</a> <ul class='children'> <li class="cat-item cat-item-11"><a href="...">cat1sub1</a> <li class="cat-item cat-item-12"><a href="...">cat1sub2</a> <li class="cat-item cat-item-13"><a href="...">cat1sub3</a> </ul> </li> <li class="cat-item cat-item-10"><a href="...">cat2</a> …

Member Avatar for Taywin
0
128
Member Avatar for pietpiraat

Hi all! i'm having difficulties with jQuery datepicker to get two input fields with different dateformats, her is my code sofar: [CODE]<script type="text/javascript"> $(function() { $('#inlineDatepicker').datepick({ multiSelect: 999, monthsToShow: 2, altField: '#datum', altFormat: '"yyyy-mm-dd"', minDate: '+1d', } ); }); </script>[/CODE] Now my problem is i'm showing my datepicker in a …

Member Avatar for pietpiraat
0
115
Member Avatar for ablitz

Hi I can't get my toggle button to work so once again I'm here hoping for some good soul to help me. Below is my jQuery code. I have 2 css clasess 1st is play with a referenace to jpg play and the 2nd one has reference to pause.jpg. All …

Member Avatar for amko
0
4K
Member Avatar for riaver

Hi There Want to find out if there are any way to let a user select a file from their local computer, and then return the path so that i can add it into a form field. I want to do a file upload, but want to skip the html …

0
59
Member Avatar for ekseks

So basically, as soon as my page loads I need to have a pre-loaded date to my drop-down boxes and in my textfields that came from my database as you will see if you go over my code. My drop-down boxes are auto-filled with the months-days-years because of my javascript. …

Member Avatar for vibhaJ
0
246
Member Avatar for VenusCrystal

hello friends... I'm new to jquery and as well as to daniweb :P I'm learning jquery from 3 days using online tutorials... I am given a task by my guide... For which i want to know why is it that the jquery carousel on the page [B][url]http://web.enavu.com/demos/3dcarouselwip/[/url][/B] works in firefox …

Member Avatar for VenusCrystal
0
129
Member Avatar for ALFA-FOXTROT

Hi guys need some help here. I don't know why but it doesn't read the value. This is to be runned by Property. [CODE] function calculate_form_opap(op_id,oca_id,ocp_id) { var propertiesintotal=0; var total=0; var completo=''; var completo_count = op_id+'_'+oca_id; propertiesintotal = Number(document.getElementById('propertiesintotal_'+op_id+'_'+oca_id).value); propertiesintotal=propertiesintotal-1; for (y=0; y<=propertiesintotal; y++){ completo=op_id+'_'+oca_id+'_'+ocp_id+'_'+y; alert(completo); //valor = document.getElementById('property_total_'+completo).value; …

Member Avatar for ALFA-FOXTROT
0
180
Member Avatar for niths

hi all, i had a php page.i am using ajax for displaying a table. When i select a date images uploaded on that date gets displayed in a table.This is working fine.But i need another button for edit.so when i click on edit those images present in table should become …

Member Avatar for niths
0
142
Member Avatar for nevergone

Hello, I want this function to be assigned to a variable but I cant get it working. I would like something like this to work so that I could perform another tricks on the result.Currentyl it returns 'undefined' data [CODE] var decodedmsg = decode('agaj80494agh942h8g0'); [/CODE] [CODE] var retdata; function decode(s){ …

0
90
Member Avatar for VenusCrystal

Hello everyone... I'm learning jquery from 3 days using online tutorial.. Can anyone tell me why is it that the carousel on page [B][url]http://web.enavu.com/demos/3dcarouselwip/[/url][/B] works on firefox and chrome but not in IE?

Member Avatar for pritaeas
0
113
Member Avatar for Venom Rush

Hi all I'm having serious issues trying to get [URL="http://cherne.net/brian/resources/jquery.hoverIntent.html"]Hoverintent[/URL] and Mootools 1.2.4 working together. I've tried using the [URL="http://api.jquery.com/jQuery.noConflict/"]noConflict code[/URL] from jQuery's website but it still won't work. How and what must I modify in Hoverintent to get it to work with Mootools?

0
89
Member Avatar for niths

hi all, i am having a page with date picker. so now when i select a date, images uploaded on that date will be displayed in a table.The date picker will not change,only the below div will change. so now i had a edit button beside date picker.so when i …

Member Avatar for metalix
0
159
Member Avatar for Venom Rush

Hi all I have multiple select boxes that have various options such as 'bangles', 'rings', 'earings' etc and I have a div that doesn't display until an option has been selected from one of the select boxes. If the option 'rings' is selected I don't want to display the div …

Member Avatar for Venom Rush
0
177
Member Avatar for Flexor123

Hi I'm trying to create a professional looking JQuery Slideshow for the website I am currently working on. I know the basic syntax of JQuery and could really use some help on how to create this. I have tried making one using JQuery and CSS, but it ultimately did not …

Member Avatar for pritaeas
0
96
Member Avatar for technical_amit

Hi guys, I am developing an invoice project. I am calculating amount of each section and assigning in grand total. For multiple invoice body section, I am adding dynamic html code using jquery append function. I am successfully added section and removed. When I added new invoice body on click …

Member Avatar for technical_amit
0
1K
Member Avatar for freiheit

Does anyone know? I dont have experience in jquery , and as far i know by default all panels inherit the height of the 1st panel ,depending of the quantity of the content inside it. In the content of each panel will be dynamic content, of different size thats why …

Member Avatar for freiheit
0
136
Member Avatar for alexgv14

I am working on a search function on RoR that basically just has a cool visual effect when a user clicks the search button. Here is the code in my view for search.rhtml [CODE]<html> <head> <title>Tutor</title> <%= javascript_include_tag :defaults %> </head> <body> <h1></h1> <%= form_remote_tag :url =>{ :action => :search_results …

0
150
Member Avatar for alexgv14

[url]http://keyonary.com[/url] When you search for something like paste all of the keyboard shortcuts slide up on your browser. I know its making a ajax requested and then using jquery for the effect. BUt how is it done. Is there a plug-in or anything in ruby that is similar.

0
54
Member Avatar for Stefano Mtangoo

Hello, I need to load JQuery UI tabs ajax call. I have made tabs and works well with my projects. I have problem in using ajax to reload one of the tabs using ajax call. When user select another thing in Drop down menu I have no way to reload …

Member Avatar for Stefano Mtangoo
0
129
Member Avatar for papanyquiL

Hi, I have a navigation bar with images as the buttons with no text on them. I'm trying to make a simple slide down menu on hover so people know which pages those images will direct them to: eg 'home', 'about', etc... However, I can't seem to get it to …

0
103
Member Avatar for reececropley

Title doesn't really give this thread justice ... I have a content div with an image and text included into it. This same div class is being used multiple times. What I want is to be able to click the image, and have the <p> in that div toggle to …

Member Avatar for reececropley
0
353
Member Avatar for JameB

I have a javascript function to toggle a specific id sent to the function [code=javascript] <script type="text/javascript"> function toggle(id) { var localId = document.getElementById(id) if (localId.style.display == 'none') { localId.style.display = 'block' } else { localId.style.display = 'none' } } </script> [/code] I want to do the same in jQuery, …

Member Avatar for JJenZz
0
360
Member Avatar for jrock2004

Ok so I am trying to setup on my site to have 6 of my recent tweets. I am trying to use the .getJSON method and it is just not working. [CODE] $.getJSON("http://api.twitter.com/1/statuses/user_timeline/jrock2004.json", function(data) { $.each(data, function(){ $('<div></div>') .hide() .append('<span>' + this.text + '</span>') .appendTo('#tweets') .fadeIn(); }); }); [/CODE] Any …

Member Avatar for JJenZz
0
111
Member Avatar for alexgv14

I am looking for something that creates the similar effect that this website does. Does anybody have any ideas? Anybody seen any tutorials or plug ins for it in jquery? Thanks

Member Avatar for ppetree
0
109
Member Avatar for EvolutionFallen

Hi, I'm trying to make a link that changes my web page into a printable format and back: [code=HTML]<a id="print" href="#" title="Print map">Printable version</a>[/code] The switch to printable format works fine: [code=JavaScript] $('#print').click(function() { $('img').attr('src', newsrc); $(this).html('Screen version'); $(this).attr('id', 'screen'); return false; }); [/code] But going back, it doesn't work …

Member Avatar for EvolutionFallen
0
104
Member Avatar for _mike_

Hi, i'm trying to achieve the exact same effect as the 4 bottom tabs of this page : [url]http://uk.virginmoney.com/virgin/[/url] Most Jquery I have seen 'pushes' the content above or below it up or down the page as it reveals the hidden content, the above example reveals the content over the …

Member Avatar for pritaeas
0
200
Member Avatar for thom22

Hi, i have been struggling for a while now trying to finish this, i am new to a lot of this and although i have had some tips i think i am getting myself more lost. So i have stripped the code to a point where it almost works. DEMO …

0
101
Member Avatar for yesiamchamp

Hi, I want to implement the layout, which have been implemented by a developer on myspace. You can have a look at the panel by visiting this link -> [URL="http://profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=158486"]Myspace[/URL] I want to implement it in jquery and one more thing, the panel should load after the page has been …

Member Avatar for scrappedcola
0
95
Member Avatar for _mike_

Hi, i'm trying to achieve the exact same effect as the 4 bottom tabs of this page : [url]http://uk.virginmoney.com/virgin/[/url] Most Jquery I have seen 'pushes' the content above or below it up or down the page as it reveals the hidden content, the above example reveals the content over the …

Member Avatar for Jayavardhan
0
201
Member Avatar for _mike_

Hi, i'm trying to achieve the exact same effect as the 4 bottom tabs of this page : [url]http://uk.virginmoney.com/virgin/[/url] Most Jquery I have seen 'pushes' the content above or below it up or down the page as it reveals the hidden content, the above example reveals the content over the …

Member Avatar for almostbob
0
231
Member Avatar for Charles1718

[CODE]if(response==="success"){ $('<p></p>&nbsp;|').appendTo('form textarea').html(''+file); } else{ $(''); }[/CODE] Hi!, I'm trying and playing arround with the .appendTo, to specify only on one text area, rather than .appendTo to every text area, is there any way to do that? or it is not possible? i try with the "div" and "id" "p" …

Member Avatar for Jayavardhan
0
139
Member Avatar for apollokid

Hi all, Not that great with javascript and need some help so thanks to whoever helps me out. Well I have run into a problem and cannot figure it out at all. I have a lightwindow inside a <p> tag inside a jquery slideout which is being called with both …

Member Avatar for apollokid
0
177
Member Avatar for swi2

hi pl z suggest me some best j-query calender plug-in which can restricted the year like i want to see only years between 2000-2010 then it will not display me the year2011 calender

Member Avatar for chrishea
0
72
Member Avatar for emilyhedgecock

Hi I am creating a drop down menu and i want to be able to select the elements that will be in the drop down list (the nested parts of my html <ul> list). I want to do this so that when the user hovers over the visible part of …

0
143
Member Avatar for EvolutionFallen

Hey all, I'm having a problem with my WordPress contact form. It is a script I edited from a tutorial I found, and it should be working right. I have a jQuery script that is supposed to help validate it and process it without page refresh. The problem is that …

Member Avatar for EvolutionFallen
0
204
Member Avatar for Silvershaft

Hey, I got a little problem with the jQuery AJAX thing, the function(data) part doesn't seem to get called I don't have idea why I've been trying to solve this, but with not luck.. Here is my checklogin function [code] function checkLogin() { var username = $('#name').attr('value'); var password = …

Member Avatar for pritaeas
0
107
Member Avatar for arsenal01

Hi, Hope every one will be fine, i am facing problem with JQuery Scrollable menu, i am trying to placing 2 scrollable panels on a single asp.net page. When there is one panel every thing works fine but when i copy and paste the code so my web page contains …

Member Avatar for newtonpage
0
142
Member Avatar for elneco

Hello Forums, I am using zRSS reader on my site: [url]http://www.zazar.net/developers/zrssfeed/[/url] Simple enough to use but was wondering how i can shorten the blog description for each entry? and even the title?? any ideas perhaps someone here can help me figure this out! Thanks, Jaime

Member Avatar for fxm
0
129
Member Avatar for jrock2004

Ok I have a page that has a list of teachers on it that has their email address. What I want to do is when the teacher's email link is clicked a lightbox type form comes up. So would it best to code what my form is in a separate …

Member Avatar for jrock2004
0
125
Member Avatar for bhavik_thegame

Hello guys, I have implemented the jquery validation in one of my projects. I have a <div> which has all the billing details & another <div> below it which has the shipping details. There is a checkbox in between these <div>'s which says "Same as Billing Address". It is used …

Member Avatar for kainil
0
231
Member Avatar for TotoTitus

Hello everyone. This post will contain an amount of personal feelings within it. I'm not a very experienced/skilled programmer, and my main 'background', if i can call it so is in windows forms applications (Visual C++, C#), where conceptually speaking, everything is driven by events, the only possible difficulties arriving …

Member Avatar for TotoTitus
0
206
Member Avatar for canterorist

If i submit using <input:text>, i can see the result but if i use <input:file>. i cannot upload. jquery code; [CODE]// JavaScript Document $(document).ready(function(){ $("#myformcom").submit(function(){ var str=$(this).serialize(); //var result; $.ajax({ type: "POST", url: "uploadfiles.php", data: str, success:function(msg) { $("#error").ajaxComplete(function(event,request,settings) { if(msg=='Successfully Submitted') { $(this).html(msg); } else{ $(this).html(msg); } return true; …

Member Avatar for pwinfrey
0
109
Member Avatar for benhowdle89

[CODE] <script> $(document).ready(function() { var refreshId = setInterval(function() { if ($('#recent td') > '200') {.css("background-color", "#1eff00")}; },1000); }); </script> [/CODE] The above is what i'm trying to achieve but its definitely not working! I have a table being outputted by PHP from a MySQL Db but i need to highlight …

Member Avatar for benhowdle89
0
124
Member Avatar for canterorist

how can i get the value of the type=hidden when i click the <tr class='click'>? i only get the value of first hidden and when i click the other <tr> the same value from first hidden. jquery code [CODE] $(document).ready(function(){ $('tr[class='click']').click(function(){ var a= $('tr[class='click'] input:hidden').val(); alert("a"); }); }); [/CODE] html …

Member Avatar for pritaeas
0
105
Member Avatar for drewpark88

Hey Guys, For some reason my light box is not working within my "tab content" for my jquery based tabs? Is there a reason why it is not working? It shows the link and when you click it brings the photo up in a new window? Do I have to …

0
64

The End.