15,699 Topics
![]() | |
[CODE] hi there, i am using a sliding bar on my homepage.i want to set focus on a textbox but [COLOR="Green"]document.getElementById("userid").focus() is giving[/COLOR]error,because textbox is invisible on page load. is there any way to do this? Thanks in advance. [/CODE] | |
Javascript is not recognising any of the hidden variables on this web form. It simply reports them to be null. I tried declaring a new variable without "runat=server". No luck. <html> <head> <script language="javascript"> function Print() { alert(document.getElementById('hdnMyHidden')); alert(document.getElementById('hdnMyHidden').value); var strmyCodes = document.getElementById("hdnmyCode").value; var strmyDesc = document.Form1.hdnmyCode.value; alert(strmyCodes); alert(strmyDesc); alert('hello … | |
Hi everybody, I have this expand/contract thing, whereby a button is situated below a label "Advanced Features". And so when the user clicks on "Advanced Features", the button will drop below the whole expansion. The button should be situated BEFORE the label before clicking onto "Advanced Features". Any ideas on … | |
hi here i am using tool tip code but i want the tool tip to auto hide please help me out from this thanks in advance [CODE]// Tooltip Object var Tooltip = Class.create(); Tooltip.prototype = { initialize: function(el, options) { this.el = $(el); this.initialized = false; this.setOptions(options); // Event handlers … | |
Hi all, I have form validation working well. The following is how i currently validate emails. My question is how can i amend to validate it as an email? [code] if(""==document.forms.fa.user_email.value) { alert("Please enter an email address."); return false; } [/code] I have found this following script but my javascript … | |
here is a javascript code for puting a message in your status bar on your website.Just change testing 123 to your message.:) | |
Hi guys. Recently I had face an interesting issue when trying on Hijacking Event on an Element here is what I've got: So if you want to Hijack an Event first you have to check that event-handler has been set for that particular element or not rite ? ( you … | |
i won't put all the code. this is the css for layer1. Now i know how to make the layer pop-up(visible) with javascript. How do i set the position it pops up to where the mouse was clicked on the page in javascript? example.. [code] #layer1 { position:fixed; visibility: hidden; … | |
[b]Split From - [url]http://www.daniweb.com/forums/thread145927.html[/url] [/b] [QUOTE=anish.anick;698556]Hi Unfortunately we cant use these two suggestion since our requirement does not allow to do so. I was able to solve this issue using JSON. Thanks for the information..[/QUOTE] Hi, We are also facing the same issue. It will be great help if you … | |
The following are the program i did...... and the problem im getting is object expected in onchange function at line 27(where i marked that one in bold for ur ease of identifying the error occuring area) in Task123.jsp. The value in not passed from Task123.jsp to Task113.js. First Page : … | |
hi, I am developing web application. using this application, i want to install the msoffice in every client system if msoffice not available. so how to check the registry whether installed or not using javascript. please give the idea along with sample program. Thanks. | |
Hey Guys, I have a form which on submission inserts value to the database using ajax. But i want that after the values have been inserted the form should reload which means that i want only the form fields to be reset. Please tell me how to do this. | |
Hi All, I need yours help again. I'm looking for "search" option javascript for seach website content. means in own website if u will put keyword to find weather that keyword is there or not if that is there then it should show in how many pages that key word … | |
-------------------------------------------------------------------------------- Hi, I want to have a random image (one of several possilbe images) displayed on my page which will also link to another page and also has a text caption below it specific to each individual image. I have found several javascripts on the net which have worked for … | |
[CODE=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script language="JavaScript" type="text/javascript" src="js.js"></script> </head> <body> <h2>Calculate the area</h2> Choose shape <form> <input type="radio" name="hinh" value="hcn" onclick="area(this.value)" />Rectangle <input type="radio" name="hinh" value="htron" onclick="area(this.value)"/>Circle </form> <div id="property"></div> </body> </html> [/CODE] [CODE=javascript] // … | |
Is GWT without a doubt the fastest client JavaScript Framework for snappy user experience? | |
Hey all you guys at DaniWeb! I have tried my hand at what I guess is Ajax, with a PHP script to execute it. The page itself renders and the form works, but the login script is not working. I'm not sure what is wrong, although I'm sure I messed … | |
After executing a query in javascript how do I store that information? In php i know we can use [code=php] $row = mysql_fetch_array ($result) [/code] thanks in advanced. | |
Thanks to the MS [ICODE]filter[/ICODE] property that disables Cleartype while applying effects. [B]Instructions:[/B] [LIST=1] [*]Paste the snippet to HEAD section of your document. [*]Paste this HTML to HEAD section of your document: [CODE=CSS] <style type="text/css"> .faded { filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=90); } .okay { filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=100); } </style> [/CODE] [*]Add these class, … | |
hi i have a basic website connected to MS Access Database and i want to display the search results, 100 records returned from a query split over 10 pages. can anyone give me the script to do this, i am using ASP JAVASCRIPT NOT VB. Source Code is listed below. … | |
does somebody know how can i delete a radiobutton again?? | |
I've been reading and trying to figure out a way for half a day yesterday, and any solutions seems to fit to this. [B] Overview:[/B] My solution is building up xml files from different folders on another server. After the xml is built up, I can run a "File Mapping" … | |
![]() | As part of my research at the University of Washington, I've been working on a new web-based JavaScript/HTML/CSS editor that helps you find bugs as you type: [URL="http://faculty.washington.edu/ajko/projects/cleanroom/"]http://faculty.washington.edu/ajko/projects/cleanroom/[/URL] If you try it, and succeed at finishing the task described on the page above, I'll send you [B]a $10 Amazon gift … |
i got a problem... i want to find a way to check if something is NOT at the beginning of a new line... how should i do that? | |
how to clear all input fields after submitting data? [CODE]<form method="post" id="registerForm" action="register.php" > <table align="center" cellpadding="2" cellspacing="0"> <tr> <td style="width:120px"><div align="left"><strong><LABEL for="First_name">First name:</LABEL></strong></div></td> <td><div align="left" class="string"> <input name="First_name" type="text" class="input" id="First_name" value="" size="32" /></div> </td> </tr> <tr> <td style="width:120px"><div align="left"><strong><LABEL for="Last_name">Last name:</LABEL></strong></div></td> <td><div align="left"> <input name="Last_name" class="input" type="text" id="Last_name" … | |
function MakePostRequest(filename) { if (window.XMLHttpRequest) // Object of the current windows { xhr = new XMLHttpRequest(); } else if (window.ActiveXObject) // ActiveX version { xhr = new ActiveXObject("Microsoft.XMLHTTP"); // Internet Explorer } mid=document.updmem.updid.value; fname=document.updmem.updfname.value; lname=document.updmem.updlname.value; email=document.updmem.updemail.value; usr=document.updmem.updusr.value; pass=document.updmem.updpass.value; home=document.updmem.updhome.value; addr1=document.updmem.updaddr1.value; if (document.updmem.updaddr2.value.length==0){ addr2='NULL'; } else{ addr2=document.updmem.updaddr2.value; } if (document.updmem.updmob.value.length==0){ mob='NULL'; … | |
I am implementing a card trick on a website. What I want to do is the user picks 4 cards then based on those cards the user is forced to pick 4 more that are of opposite color. So right now I have the cards displayed on the page but … | |
If you look at the link it is pretty self explanatory,, the image scrolls way too much,, if anyone can help I would be grateful. [url]http://www.yourticketexpert.com/test_map.html[/url] | |
I am trying to learn a little about ajax and prototype.js. Here's what I have so far: [B]boardtest.php[/B] [CODE] <html> <head> <title>AJAX Test with new javascript</title> <script src="scripts/prototype.js" type="text/javascript"></script> <script src="scripts/ajax.js" type="text/javascript"></script> </head> <body> <div id="products">(...locaing inventory...)</div> </body> </html> [/CODE] [B]ajax.php[/B] [CODE] <?php $company = $_GET['company']; $limit = $_GET['limit']; $line … | |
I'm only having this problem in IE 8 and 7-Firefox is fine. I get the following error : Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.3; OfficeLivePatch.0.0) Timestamp: Sat, … | |
Hellow friends! I am new to ASP.net. I am developing my college major project in Asp.net 2008. How should I use Ajax controls in my web project? I added the ASP.NET Ajax Library 0911 Beta to my VWD. The controls are visible, but they dont work properly on runtime. Controls … | |
Hello All, I've been through this article and found it very helpful {http://msdn.microsoft.com/en-us/library/bb250489(VS.85).aspx}. I have a 'static' callback method in my BHO dll which is called whenever 'some' event on the computer happens. I need to call a javascript method on all open browser instances when that happens (or do … | |
I want to make it so when a person clicks a link it pops up asking "are you sure" and if you click no itll stop u from going further and leave u on that page and if u hit yet itll continue to a specified link (which will be … | |
I tried to post on Mozilla's forum but I ran out of space, so I'll give this a try and thanks in advance... :) Also, I've googled til I cannot google anymore, so please be kind. :D I'm trying to call a .js file in my header where javascript would … | |
Hi, I recently created a website with a spry dropdown navigation bar. On preview from Dreamweaver CS4, in Firefox, IE, Opera, Chrome, all elements work properly and the dropdown menus work as well. However, when I upload it to my server at the domain [url]http://www.kcsslibrary.com[/url], the dropdown menus do not … | |
Hi everyone, I want to convert [B]JDBC ResultSet to JSON Array[/B]. As u guess, direct casting isn't allowed.. How can I convert my DB data which is stored in ResultSet to a JSON Array? I'll be happy if someone can help me. Thanx in advance, With regards, Talha.. | |
I have this ajax script it's works fine in Mozilla Firefox but not Internet Explorer why? test2.php content only text but when i edit it it show it in Mozilla Firefox but in Internet Explorer it dosent change anything... i hope someone can help - not just post comment script: … | |
This simple library containing some methods of Ajax. Example about addContent(url, target): With this function you can change the content of the someone DIV tag. E.g: index.php [CODE=php] <html> <head> <title>Untitled Document</title> <script type="text/javascript" src="ajax.js"></script> </head> <body> <div id="test"> <a href="javascript: addContent('test.php', 'content')"> Change </a> </div> <div id="content"> <label> This … | |
Hi, I have a user on a Website(name withheld) who is clicking on a button which loads the Ajax indicator and then opens a pop-up, but for this particular user the Ajax loads indefinitely he never gets to go to the pop-up, my guess is there is no bug in … | |
HI, I'm new in javascript and ajax and I need a IDE to write and debug my codes and I want it to be something like phpdesigner or dreamwawer that have snipper and suggest me when I write some of the code. Do you know something that can help me … | |
I have a simple page that has two popup windows ran with css and javascript. Using the edit button, the windows popup correctly, but I cannot get the position to be right. When I click edit on either of the two links, the div opens at the top edit rather … | |
Please see the code below. i am not able to get this to work. When i click on Activities in Header, the content doesnt show up. what am i doing wrong here?? please help... thanks in advance <aj1:Accordion ID="Accordion1" runat="server" SelectedIndex="-1" HeaderCssClass="navlinkI" ContentCssClass="subnav" AutoSize="None" HeaderSelectedCssClass="navlink" FadeTransitions="true" TransitionDuration="250" FramesPerSecond="40" RequireOpenedPane="false" SuppressHeaderPostbacks="true"> … | |
I 'm trying to create my own Javascript library which I want to be able to access in the same way as you do with Jquery (by writing Jquery.something or $.something). But I can't figure out how that is done. The object Jquery must in someway be created and have … | |
pls , anybody help to me. i have meet one problem for my website developing , i have add to div tag in my page. i don't want to display that scroll in server side, but i need div all actions. pls help me this is my code <div style="overflow:auto;height:535px; … | |
i am using update panel. i could not validate the text,number and email in aspx page.I need the solntion. | |
Hi I have seen this popup in a registration form. I think it's using jquery but I don't know how can I make some thing like this . I want to put a registration form in it ( ajax registration ) when the popup appear , around it will became … | |
Hi, I am trying to create a website where the visitor can choose one of two languages when first arriving at the website. Then I want that choice to be saved throughout the whole visit without the visitor having to log in. I've always felt that cookies are a lame … | |
this is code for the pop up div, but i want the pop up div to display where the cursor is clicked. I need help adjusting this code to do that? [code] x = 20; y = 70; function setVisible(obj) { obj = document.getElementById(obj); obj.style.visibility = (obj.style.visibility == 'visible') ? … | |
A "Confirm" window pop up for Firefox, IE but not Chrome for my web page with auto refresh every 10 seconds by javascript. Attached is the screen shot. How to stop this "Confirm" window from popping up? | |
How to auto refresh my web page every 10 seconds without resetting all the checkboxes? This will auto refresh my web page every 10 seconds but will reset (uncheck) all the checkboxes [CODE] <body onload="timedRefresh(10000);"> <script type="text/javaScript"> function timedRefresh(timeoutPeriod) { setTimeout("window.location.reload(true);",timeoutPeriod); } </script> [/CODE] |
The End.