20,316 Topics
Hello, I'm a neophyte to Javascript, but I need it to dynamically add lines to a form. I was able to cobble together this inelegant looking code below. It adds the row when called, but there are more attributes needed for this to be correct for the application. 1) need …
hello everyone could u please solve this for me Write embedded JavaScript code in the required HTML tags that accepts three numbers from the user and pring out the maximum as the following result : First Number is : 3 Second Number is : 4 Third Number is : 5 …
What i need is Toggle the each div with the relevant check box ex:- when i checked "[B]div1chk[/B]" i want to toggle "[B]div1[/B]" [CODE] <input type="checkbox" id="div1chk" /> <input type="checkbox" id="div2chk" /> <input type="checkbox" id="div3chk" /> <div id="div1"> div1 showed </div> <div id="div2"> div2 showed </div> <div id="div3"> div3 showed …
I know you would say ask to JS/AJAX forum! Don't worry, it isn't about codes, it is curiosity. I wan't to know if I can do Ajaxing using JQuery and PHP without writting all Ajax functions myself :) Just that :-/
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
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() …
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 { …
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"; } …
Hai fiends I want to disable the righ click option in my web application. How to hide the right click option usong php? Please send me any idea. Thanks Prabu __________________ Thanks Vssp
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, …
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 …
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 ?>'; …
I'd like to jump into the wonderful world of programming. In the past I took some programming courses in school. These included C, C++, and Python. And I started to learn PHP about a year ago, and I've also played around with Ruby on Rails. Unfortunately I never did much …
using the javascript how can I get web server time and date? :eek:
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 . …
Hi, I wanna make an animation and picture should come to down and up, for example with position 0,0 to position 0,100 and next after 5 sec to 0,50 Thx 4 help
[CODE]$output[] = '<td><IMG SRC="../cart-demo/images/1.jpg" WIDTH="100" HEIGHT="100"></td>';[/CODE] hi, i am facing a small problem. can any one hint me or help me with the image property i wanna increase the 1.jpg to 2.jpg and so on.. kindly help With Regards danny
Hi all, I plan sometime to jump into IT business. I plan some tools that I will need. I will go for web as well as Desktop. So far I know that I need to know HTML/CSS/PHP/Javascript and hence I know I need IDE that will support those plus some …
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 …
I want to creat a button that when I click on it it will generate a TextBox ,please tell me how
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 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 …
Hi, I nead to do some menu in gui Netbeans. I have got buttons, and a nead to change one JPanel in witch is some others components. Could you help me how to change JPanels? or some another way to do menu? i'm not good at it :(
Hi, I'm building an application and I want to it to play mp3 files. I have it working, basically by installing JMF2.1.1e, and then I add its jmf.jar file to the build path of the project within eclipse. When I then jar up the project, and place on desktop, it …
I was curios if anyone knows much about the Firefox add ons Stylish and Greasmonkey. Essentially for my job we have a queued ticketing system. All tickets are in a table with multiple categories giving customer info/ticket info. Unfortunately our DEV for this web based system has only made one …
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 …
Hello all, i have a table of five row with an image button on all the rows if the image button is clicked i want a row to be created below the row that the user clicks e.g if the user click the image button on row 2, row3 should …
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.
Hello, How to show a table on mouse over an hyperlink in asp.net? Initially while page loads the table must be hidden, and when on mouse over it must be seen?
hi, i want to have a button wherein it will create dynamic text boxes depending on the times i click the button. i've seen several codes thru javascript, however, i cannot get the value of the said textbox, could you please help me with this?? tnx..^^
Greetings, What I have: A custom, dynamic web-based Contact Relationship Manager (CRM). That has: A dropdown option on the website used to select a certain business class that a company can be classified as. Example: RES = Restaurant What I want to add: When the end user selects RES from …
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
I am not sure if this is the correct category for VXML but it is very similar to XML; so I am hoping this will fly. Please move to another forum if necessary. I am a Grad-Student and my thesis is working with VXML. I have built my application to …
I need to allow users to upload images and resize the images on the client. Does anyone have a (complete) solution for this? Money is no problem.
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 …
The End.