15,121 Topics
| |
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 ?>'; … | |
using the javascript how can I get web server time and date? :eek: | |
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 | |
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 . … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
seriousy? i cant find anything on google is there like a page regarding this kind of stuff? | |
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> … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
| 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 … |
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 … | |
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. | |
hi i wish to learn ajax and cms can anyone help me,please tell how to start with them, which is the best site to learn them and from where to download please | |
Hello, this is my first post here, but I'm having some trouble figuring out what I messed up on my code :( I'm making a Javascript game of Hangman for one of my classes and I originally had the input as a text box where you physically type in the … | |
Hai, I made a captcha verification in my php page and refresh the image using a simple javascript. Everything working fine in IE .. But in FF the refresh of image is not working... This is my code... Please advice [ICODE]<script language="javascript"> function refreshCaptcha(){ document.getElementById('code').value=''; document.getElementById('captchaImage').src="captcha.php"; } </script>[/ICODE] Thanks in … | |
This is my first time really using HTML, Javascript and PHP. This is part of a prototype for a project for my SW Eng. course. The problem I am having is that the form is not going through the validation. The user is supposed to be able to search by … | |
Hi, In my page I have a checkBoxList and I need to select all items that has an specific word. Let's suppose my CBL is: VB.NET C#.NET Java2SE Java2EE And suppose that I need to select only the items about .NET (the items that cointain the string ".NET"). How can … | |
Problem with storing values in Array from php to AJAX index.php [CODE] <html> <head> <title>Main Page</title> <script language="javascript" type="text/javascript"> function ajaxFunction() { var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if(xmlhttp.readyState==4) { var arr = new Array(xmlhttp.responseText); alert(arr[0]); } } xmlhttp.open("GET","main.php?q="+document.frm.Act.options[document.frm.Act.selectedIndex].value,true); xmlhttp.send(null); } </script> </head> <body> <form name="frm" id="frm" … |
The End.