15,694 Topics

Member Avatar for
Member Avatar for filch

Can someone enlighten me as to why this does not work in Safari and only apparently works sometimes and on some machines in IE. I have tried using all three (blur, change, keyup), used live and bind. Nohing seems to work. I have to say though, that in IE on …

Member Avatar for Airshow
0
3K
Member Avatar for Crocodili

Dear reader, i would like to indicate that an ajax query is in progress with one of those animated gifs. In theory the image is hidden, until ajax is working and waiting for a response. When the response comes it is hidden again. I have tried several approaches to this …

Member Avatar for Crocodili
0
103
Member Avatar for xmassey

Hello, I am trying to print all the selected checkbox values to a textbox separated by commas (, ). However, the first value in the textbox always starts with a comma (, ) i.e. (, one, two, three) etc. My current script trys to check if the first 2 characters …

Member Avatar for dobriyalji
0
1K
Member Avatar for bella422316

I would like the output to be JUST the TIME. Currently it also displays the date. How do i fix this. [code] <html> <head> <title> Start and stop a clock </title> </head> <body> <input type="text" size= "60" id="theclock" /> <script type="text/javascript"> var setIntervalID = window.setInterval("setClock()",1000); function setClock() { var now …

Member Avatar for cyrillc
0
74
Member Avatar for himmat.m4

Hi, I have following ajax code so here I want to help to edit the code. I have servlet name is SendInfo.java. here feaches destination cities and add into Arraylist according destination city selected by dropdownlist listFrom then that Arraylist send back to displayCity.jsp and displayed in second dorpdownlist listTo. …

Member Avatar for himmat.m4
0
92
Member Avatar for mushget

Hello. Been searching all night for a way to do this, so thanks in advance for any help forthcoming. I'd like to be able to create a list of post titles that share the same tag in tumblr (rather than a list of tags). Tumblr allows you to filter your …

0
93
Member Avatar for valonesal

We have the following code that is suppose to output html in a box below, however it is not working correctly. When we click the button it does not generate the html, it doesnt do anything. What we are trying to achieve is to have information input then have it …

0
88
Member Avatar for ErlendHL

Hi! My append code works for Firefox and Internet Explorer but not for Opera and Google Chrome. [URL="http://3rlend.com/pjatt/append.html"]Here[/URL] is the test page. In Opera I get this error in Dragonfly: [CODE]Uncaught exception: [object DOMException] Error thrown at line 3, column 16 in append(id, text) in http://3rlend.com/pjatt/append.html: var je = document.createElement('<span>'); …

Member Avatar for ErlendHL
0
92
Member Avatar for ErlendHL

Hi! [URL="http://3rlend.com/pjatt/JStest.html"]Here[/URL] is the test page. It works fine in Firefox and Google Chrome but not in Opera and Internet Explorer. If you don't have Firefox or Google Chrome, I can tell you how it should be: when you click an element, if should be lighter green, rolling out of …

Member Avatar for Airshow
0
135
Member Avatar for himmat.m4

Hi, I working on OnlineTraveling project, here issue is whenever I choose source city from dropdownlist at that event only related cities would be comes in dropdownlist of Destination city. It should not need to goes to server, it would be happen on same page. I have done this by …

Member Avatar for himmat.m4
0
70
Member Avatar for Siberian

I'm hoping someone can help me I'm trying to create a custom transition using a jQuery called "cycle" so far I can only mix the two transitions but I have no idea on how to take these two transitions and create a new transition from it. [CODE] <script type="text/javascript"> $(function() …

0
60
Member Avatar for WaleedaaN

hi dear,,, i use this code facebox : [url]http://chriswanstrath.com/facebox/[/url] now i have first_page.html [CODE] example id: <?php $id = 1; //// 1 for michal jakson ?> <a href=\"page/play.php?id=$id\" rel=\"facebox\">Play music <a> [/CODE] now in play.php [CODE] <?php $song = "mj.mp3"; /// all my songs is mp3 ?> <center> <table border="0" …

Member Avatar for WaleedaaN
0
133
Member Avatar for minimogul

I was wondering if anyone could help me with a current page selection for my navigation bar. I am a noob to javascript and jquery and I would like to use jquery for this. I don't know how to implement it. I have a drop down menu. I have found …

0
68
Member Avatar for Clawsy

Hello, I manipulate XML with jQuery with no problem in all browseres but not in Internet Explorer. I serched bug-fix and I found "metadata.js" but still not working in my Internet Explorer 7 :sad: . Does anyone now a fix for this problem? It's just too nice to manipulate XML …

Member Avatar for anonymous2010
0
267
Member Avatar for vedmack

Hi I'm creating a popup to display a loading message, inside this popup i placed an animated gif... the problem is that the gif is not being animated (it is an animated gif...) , its is being shown but without the animation... This is the code: [CODE]oPopupLoading = window.createPopup(); var …

Member Avatar for Airshow
0
113
Member Avatar for <?davec

Hi there, I'm using this script for collapsible divs... [url]http://www.harrymaugans.com/2007/03/06/how-to-create-an-animated-sliding-collapsible-div-with-javascript-and-css/[/url] Everything's working fine but I need to add an image for show/hide state. When the div is showing the header displays an "open" arrow...when closed it displays a "closed" arrow. Any help is really appreciated!! Thanks :) Here's the JS... …

Member Avatar for Airshow
0
109
Member Avatar for GreaseJunkie

Hi, I could use some help with my code. I am validating a form before processing the PHP to SQL and would like it to let the user know if they have done something wrong before the form can process. This code below changes the bad fields to yellow (BRIEFLY), …

Member Avatar for GreaseJunkie
0
184
Member Avatar for public-image

Hi Everyone, I have got a DIV that I need to refresh, its content consists of an image that will change on the insertion of a row to the SQL Database, however, when I use a refresh on my div it does refresh but does not change the image... My …

Member Avatar for hielo
0
170
Member Avatar for nikc121

I have been playing around with this code for far too long. The code worked fine at first, but when I tried to validate under strict I got a "name" attribute in the form element not valid, so I took it out. Now its keeps saying that document.quiz is not …

Member Avatar for Airshow
0
371
Member Avatar for cutekate

Hello Everyone, I have triple drop down menu. I want to display the contents of the table based on the third menu selection. The code is in the link [url]http://php.pastebin.com/hgazULxi[/url] I know I need to include a onchange function to <select name="genus"> but as you can see I have a …

Member Avatar for Airshow
0
126
Member Avatar for djcrab

I'm taking a "self-paced" class trying to learn a little javascript. I'm doing the old Dino Quiz trying to add pop up alerts after a click on a radio button of any question. I only added the javascript functions "scoreQuestion" at the top. The rest was already typed for me …

Member Avatar for djcrab
0
164
Member Avatar for programmer12

Hi, I have a piece of Javascript that I need help revising it to fit my needs... My NEEDS: I need this script to work with Megavideos as well, Right now it works with just Youtube videos, and Vimeo Vids. Here is the Script: [CODE] (function($){$.prettyPhoto={version:'3.0'};$.fn.prettyPhoto=function(pp_settings){pp_settings=jQuery.extend({animation_speed:'fast',slideshow:false,autoplay_slideshow:false,opacity:0.80,show_title:true,allow_resize:true,default_width:500,default_height:344,counter_separator_label:'/',theme:'facebook',hideflash:false,wmode:'opaque',autoplay:true,modal:false,overlay_gallery:true,keyboard_shortcuts:true,changepicturecallback:function(){},callback:function(){},markup:'<div class="pp_pic_holder"><div class="ppt">&nbsp;</div><div class="pp_top"><div class="pp_left"></div><div …

Member Avatar for programmer12
0
216
Member Avatar for funlove201

what should I do if I want to open [url]http://www.google.com[/url] on click of a form button.... thanks in advance

Member Avatar for aquilax
0
71
Member Avatar for fobos

Hello all, well i have a problem, but it sorta works. Here is my code. [CODE=JAVASCRIPT] var toggleState = 0 function toggleMe() { if(toggleState == 0) { alert("Checked"); toggleState = 1; } else { alert("Unchecked"); toggleState = 0; } } [/CODE] HTML [CODE=HTML] <input type="checkbox" onclick="toggleMe()" />Toggle me <input type="checkbox" …

Member Avatar for fobos
0
94
Member Avatar for mayuri_desh

need to write the below javascript function in php..please help [CODE]myStartDate = new Date('April 1, '+curYear+' 1:59:59');[/CODE]

Member Avatar for P0lT10n
0
83
Member Avatar for dantheman50_98

Hi There, - I've got a list similar to the following: <ul> <li><a href="item1.php">item1</a></li> <li><a href="item2.php">item2</a> <ul> <li><a href="item2-5.php">item2-5</a></li> </ul</li> <li><a href="item3.php">item3</a></li> </li> - Item 2 needs to have a class added to the li using jquery. I've tried the following but it isn't working: <script> jQuery(function(){ $(this).parent('li').addClass('current'); }); </script> …

Member Avatar for dantheman50_98
0
164
Member Avatar for shuka79

Hi guys, I have developed a menu structure that has several sub-menus which are hidden until you click on the menu item. Once this happens I have got a onclick event which will display the sub menu below, changes the font colour of the menu item you have just click …

Member Avatar for AleMonteiro
0
183
Member Avatar for maxelcat

Hi I am doing some simple jQuery work and I have a little problem. There are some image panels. If you roll over them a little div animates in. This new div sits on top of the image, and is about 1/4 of the size of the triggering image. Its …

0
68
Member Avatar for eefh01

Hi, I am just trying to have a login form on a page using div tags. After successful login without refreshing the page, the textboxes on the form should be replaced by Welcome message or displaying username and Logout button. Can somebody throw a little light to show me the …

Member Avatar for Airshow
0
95
Member Avatar for mushget

Hi , I need to do javascript money validation for a field. the condtions are 1) depending on the Locale (not sure if this can be done in JS like US,Germany..) 2) verify if it has $,pound symbol, yen symbol.. 3) group the digits either like 00,00,000 or 000,000,000 4) …

Member Avatar for Airshow
0
125

The End.