15,127 Topics

Member Avatar for
Member Avatar for JohnBlanco

Hi, I am having troubles finding something about dropdowns with javascript. I have two dropdowns, and I wanted to choose an option from the first and change the values that appear in the second. Can anyone help me? Thanks in advance

Member Avatar for JohnBlanco
0
119
Member Avatar for dasatti

Hi, The following JQuery works fine in all browsers excluding ie-8. It works fine even in ie-7. Not tested in ie version gater than 8. It works fine in Firefox, Chrome and ie-7. Can any body figure out what is the problem and how to solve. [CODE] <script type="text/javascript"> $(document).ready(function() …

Member Avatar for macneato
0
84
Member Avatar for Kitzhi

I have this piece of code executed with greasemonkey. I don't know how to introduce a timeout for butt.click();. To be executed for exemple very 3 seconds. I've tried setTimeout(function(){butt.click();}, 3000); but doesn't work correctly [CODE]javascript:var lis = document.getElementsByTagName('li'); for(var n in lis) { var li = lis[n]; try { …

Member Avatar for me655321
0
71
Member Avatar for newto

hello, can anyone help med check what I am missing in this code: [CODE]//here I want to make the lists unvisible when you enter the page. function borja(){ var vanster=document.getElementsByTagName("h2"); for (i=0; i<vanster.length; i++) { vanster[i].nextSibling.nextSibling.className="osynlig"; } } function visa(){ var sibling=this.nextSibling.nextSibling; sibling.className="synlig"; } function dolj(){ var sibling=this.nextSibling.nextSibling; sibling.className="osynlig"; } …

Member Avatar for newto
0
195
Member Avatar for itisnot_me

ok so i have been searching on the web for a really simple and clean coded way to have a ajax multi dropdown boxes. so what i am trying to do it is have one dropdown that has lets say countries, then the second dropdown will populate to have states, …

0
55
Member Avatar for Breckenridge

I just watched the "Taming the Web" video from 01/12/09 on Adobe TV which discusses how to use jQuery as a framework for AJAX development using Dreamweaver CS4. I am just beginning to learn about this stuff but it seemed to me that everything that the instructor did with jQuery …

Member Avatar for Fungus1487
0
108
Member Avatar for Tekkno

I have a javascript that displays a countdown in the browser. The problem is that if the element does not load immediately the countdown turns to negative. Here is the script: [code=javascript] <script> var time = 10; //How long (in seconds) to countdown var page = '<?php echo $page ?>'; …

Member Avatar for Airshow
0
252
Member Avatar for aish
Member Avatar for dalvir
0
328
Member Avatar for anup.maverick

Hi, In an Javascript code, I am taking a value from User and this value I want in my server side code , vb.net, What is the code for this.??? Thanx & Regards Anup

Member Avatar for iamchamith
0
107
Member Avatar for varun pathak

I have a requirement in which I have to prin to directly to printer and show the error if its not printed. Till now I have been able to manage to send directly to printer via vbscript. but If am not able to print script never throws the error . …

0
42
Member Avatar for Philip435

Hey Im going to make an ajaxlogin for my website but ive ran into a problem with the jquery submit() funktion. If i put my login form in the body of the index and use $('form').submit() it works perfect but. when I have the login form in another php page …

0
72
Member Avatar for lbob

Hi I've got a datagrid where I'm calling javscript to calculate selected values, I'm trying to update a textbox in the footer, but can't. I've tried document.getElementById("Textbox1").innerText = newtotal; but it can't find the object. Any help would be greatly appreciated. Lbob

0
46
Member Avatar for Graphix

You can place the game "Blackjack" by adding the following script to your website. All the information is included within the script, please do not remove the warranty or information. If you don't want such a big lap of code on your website, you can also place the following, as …

0
466
Member Avatar for chrishea

I'm a PHP guy so I still struggle with Javascript. The answer to this is probably easy. I need to add some animation effects and I'm experimenting with JQuery [B]animate[/B]. The sample routine is set up to run when you click on the Run link. I want to change the …

Member Avatar for phpbeginners
1
219
Member Avatar for kevin wood

i have been asked to fix a problem on a content management system website. when the user edits the text and then clicks on the save button it is not updating the text on the pages selected. the code that is being used is [ICODE]oEdit1.btnSave= true; // Enable save button …

Member Avatar for Mr.Bit
0
2K
Member Avatar for SKANK!!!!!
Member Avatar for deven_a76

Hello friends, I am trying to use the Ajax control i.e. Scriptmanager, to get the data from the server asynchronously (without postback). For this as per the guidance given by MSDN, I have code in my system. I have used following psuedo code... [Code] <ScriptManager ID="..."> <ScriptService path="ABC.asmx"/> </ScriptManager> <script> …

Member Avatar for deven_a76
0
98
Member Avatar for mrcb

Hello all - I have some functioning javascript that I want to open in an overlay (floating iframe?) when the user clicks the bookmarklet. How do I do this? Thanks much, mrcb

0
54
Member Avatar for CFROG

I have looked around and not been able to find a definitive answer to this. Prototype does not work in IE 7 or lower. All other browsers work just fine. Even something as simple as [icode]toggle();[/icode] will not work in older versions of IE. I don't get any errors or …

Member Avatar for CFROG
0
125
Member Avatar for JRBZ

Is it possible to use javascript to show a "chat now" button on one of our webpages during our hours of operation: Mon - Fri 8:00 AM to 5:00 PM Central time. And; hide the "chat now" button outside of our hours of operation ? Any help would be greatly …

Member Avatar for ShawnCplus
0
35
Member Avatar for EddieC

What if you had access to the millions of tweets that flow to and from Twitter users every day? Perhaps you'd build something like [url=http://www.daniweb.com/news/story240308.html]PostRank[/url], which amasses them along with other data from social media sites to trackcyber-reaction to posted articles. Or maybe you would filter them by demographic and …

Member Avatar for jimmurphy
0
265
Member Avatar for pradeepktg

Hi, I want to remove the current DOM using tagName=DIV. Below function works fine in IE but not working properly in mozilla. The 'if' part is for IE and 'else' part is for mozilla FF. In 'else' part,The current DIV is not removing, only the DIV at position 1,that is …

Member Avatar for Airshow
0
113
Member Avatar for Henzard

I have a php user front-end and would like to validate a some fields to stop duplicates the database is oracle and the form is quite large i was wondering if it is possible with Javascript or ajax to run a select statement using php code check the values and …

Member Avatar for phpbeginners
0
150
Member Avatar for cw08

I want to retrieve addresses supplied in a database and on page load, have a map be populated with markers at the location of those addresses. I can get the information from the database, but I can't figure out how to call the showAddress function and pass in the value …

Member Avatar for kvprajapati
0
660
Member Avatar for barjlund

I am trying to open a larger picture of the original picture that is in the html document. in the html its called "bild.png" and I want to open a larger one called "big_bild.png" in a new window. I have fetced all the images and sorted out the one I …

Member Avatar for barjlund
0
135
Member Avatar for hsthompson

AJAX n00b. Bear with me. I have an AJAX object requesting the date modified header of a file, and performing another function based on the result when the request returns ready state 4. This works. Now I'd like to do the same thing to a series of files. This is …

Member Avatar for Airshow
0
101
Member Avatar for soeppp

Hi all..i make a program use javascript to call VB.Net function..but it doesn't work...can somebody help me to check this code... [code=vb.net] Imports System.Runtime.InteropServices <ComVisible(True)> _ Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.ObjectForScripting = True WebBrowser1.DocumentText = "<Script language='JavaScript'>" & vbCrLf …

Member Avatar for shazi786
0
137
Member Avatar for djMot

Hi, I'm probably just blind or something, but IE7 just stopped letting a popup I've written in javascript from opening in a (duh!) popup window. Instead, it's loading in the same tab as the link was called from. That violates the tab settings I have established to pretty much open …

Member Avatar for hapakity
0
94
Member Avatar for JohnBlanco

Hi, I have a register page where there is a field for confirming the password. I have a function that evaluates if the two boxes have the same text and I call this function in the form tag, but it doesn´t work. Can someone help? Thanks in advance. Function: function …

Member Avatar for JohnBlanco
0
177
Member Avatar for manreddy

Hi can a get the inline calender with the controls as shown in figure. I already developed calender only using java script. But not able to select date using the same inline calender.

Member Avatar for parry_kulk
0
55

The End.