20,316 Topics
hello , my problem is that.. i have 2 treeview treeview1 and treeview2 my problem is that when i add the node on treeview1 then i want to just copy the same treeview1 node to another treeview2 node please tell me how to do that i just want to ask …
hello , my problem is that.. i have 2 treeview treeview1 and treeview2 my problem is that when i add the node on treeview1 then i want to just copy the same treeview1 node to another treeview2 node please tell me how to do that i just want to ask …
How to add a tooltip over a textbox in asp.net or javascript? If given in javascript then please explain perfectly because i dont know javascript. Please help..................
Hello Everyone, Quick history....Im a systems engineer, total newbie to web dev. Ive been trying to maintain a memorial website that we had created when my sister passed away. It was hosted somewhere but the person who made it couldn't maintain it anymore, so I downloaded all of the pages …
How to make something like spry tabs in dreamweaver with jquery or something. I don't have dreamweaver and i don't want to download a trial.
hi friends, i try to make some selector of items placed in <div>, and click on some of items should delete one by changing innerHTML of <div>. delete works, but after delete html page reloads. i suppose its because element, originator, calling delete function exist at time of calling, but …
Alright, I made a form, but I don't want just anyone to be able to use it. So I was wondering if it was possible for the page to check if they were logged into my forum. Any suggestions would be great =].
[CODE]<div id="menu" class="menu"> <a href="/" title="Nornix TreeMenu">start</a> <ul> <li> <a href="/info" title="Information">info</a> <ul> <li> <a href="/info/features">features</a> </li> <li> <a href="/info/layers">layers</a> </li> <li> <a href="/info/compatibility">compatibility</a> </li> <li> <a href="/info/usage">usage</a> <ul> <li> <a title="HTML structure">HTML</a> </li> <li> <a href="/info/usage/css" title="CSS classes">CSS</a> </li> <li> <a href="/info/usage/js" title="JS behavior">JS</a> </li> </ul> </li> </ul> </li> …
Hello I have a simple requirement, I have a list of URLs on a page, I want that when the user clicks on any one URL, then a text box on the same page is filled with some data. The data to be filled in is specific for each URL. …
Alright, I think 3 hours of feeling like an idiot and searching and then feeling even more stumped is grounds enough to post here. I am basically just practicing with javascript (Just started a few days ago) and wanted to create an array that pretty much checked a form for …
Hi! All I would like to have a way to do my application using a simple way. I have a genealogy site, since a long time ago. I have near 10,000 pages (10,000 names) on a free hoster. Everything works fine. But I'd like to do the conversion from my …
Hello! I got a page which whenever a checkbox is checked I want to insert an image to the right of the check box. Can anyone help? - realchamp.
why does the event.clientX and event.clientY is working in IE but not work in firefox? clientX and clientY shows the coordinate of the cursor relative to the screen
[B]I need help understand where to place (and how to create) [CODE]function calcPrice() { product = document.form1.prod; pindex = product.selectedIndex; product_price = product.options[pindex].value; quantity = document.form1.qty; qindex = quantity.selectedIndex; quantity_ordered = quantity.options[qindex].value; document.form1.price.value = product_price*quantity_ordered; }[/CODE]. I also need to know where to add the [CODE]onchange = "calcPrice()"[/CODE] event handler. …
Hi all, this is mohan started working recently on ajax with struts2 framework. I can able to make a ajax request to an struts2 action class.But in the response I am getting the whole jsp page as a response mentioned in the result tag in struts.xml file.But I need only …
I have a table that is populated by php/mysql. I would like to have it were when you click on a row any where on the row the check box for that row gets checked. I have been searching the net for days looking for a way to do this …
Hi , I need to find all the dates between two given dates. For e.g dates between, 02/03/09 and 02/15/09 format is in mm/dd/yy. I need java script program for this. Kindly help.
Hello! I have been working on a dynamic solution for a web based purchase order system. When i enter a purchase order i am greeted with: [IMG]http://nenuno.co.uk/temp/12-rows.jpg[/IMG] And i have started to code a solution where I can add rows when I need them! Inspiration is: [IMG]http://nenuno.co.uk/temp/example.jpg[/IMG] The code I …
hi, i heared at some where.....using .js files in our script webpage disturbs a lot....i mean webpage loads slowly...is it write or wrong?
Hi I have made a program in which we have to read cookies through javascript but I am facing a problem in it. And I am unable to understand where the problem is? Please help me understand the same. [CODE] <html> <head> <title>read cookies</title> <script language="javascript"> function gettime(){ if(document.cookie) { …
Hello pals, HTML code: <dt><a href="#" onmouseover="addButton(this);" onmouseout="removeButton(this);">CNN News<img src="images/cnn.gif" alt="cnn" style="width:67px; height:43px;"/></a></dt> Javascript: function addButton(selected){ var add = "CNN News<img src=\"images/cnn.gif\" alt=\"cnn\" style=\"width:67px; height:43px;\"/><img id=\"add\" src=\"images/add.gif\" alt=\"Add\" />"; selected.innerHTML = add; } function removeButton(selected){ var add = "CNN News<img src=\"images/cnn.gif\" alt=\"cnn\" style=\"width:67px; height:43px;\"/>"; selected.innerHTML = add; } Here my …
I am in the process of learning PHP with JS and Ajax and have the foll. problems. I have created a class to generate master data entry screens. (1) Javascript code that works when I run master.class.php independently does not work when I run users.php. I came across this problem …
I am developing a Tic-Tac-Toe game which can be played between two players who are on two different machines. When the first player comes to the Welcome page he will redirected to a Waiting Page when he clicks on the 'Start' button. When the second player comes to the Welcome …
Hi guys, I am trying to add an instant messaging system to my website so that logged in member can chat one-on-one with other member on his/her contact list. I am aware that there are many of such free scripts that I can use but I would rather learn to …
Is it possible to overwrite internal javascript? I am working for a non profit as an internship and they want to escape a template that almost all of the non profits in that organization have to use, the catch is the template is written in Javascript if it is possible …
hai, i want to select only parent checkbox. then automatically check all child checkboxes. i mean checkall checkboxes at once. using javascript[CODE] <SCRIPT LANGUAGE = "JavaScript"> <!-- function modify_boxes(to_be_checked,total_boxes){ for ( i=0 ; i < total_boxes ; i++ ){ if (to_be_checked){ document.forms[0].chkboxarray[i].checked=true; } else{ document.forms[0].chkboxarray[i].checked=false; } } } --> </SCRIPT> …
hi guys, just want to ask if it is possible to check which link on the page receives a focus? For example, i got Links name A1, A2, A3, A4 and A5. How to check which link is currently receiving the focus? is it possible to do? thanks ...
Hi, index.php posts data to process.php I want users to remain in index.php when they summit their form. I have seen this in some websites but don't know hot it done. Can anyone help me? Thanks
does anyone know of any tutorials? i don want to use jquery. just javascript. i googled and found nothing but i know its possible. does anyone know? just a simple one. for like divs
Hi, This is probably a very simple problem, but still it is bugging me for a while. I have tried to google for solutions, but I did not find any. I have a div containing a few text elements like date and description. I want to change the background-color of …
HI, I am dynamically generating a unordered list. I want to get value("somevalue") inside each <li> item. How can i access it please help me. <ul> <li value="somevalue" > item1 </li> <ul> Help me in using javascript or jsp to do the above.. thanx in advance
I'm showing in a field the name of the file the user has chosen. I would like to show the whole name as the title when passing the mouse over the field, in case the name is too long. I swear this was working, but it's not anymore (I'm testing …
Hi all I've been trying to find a regular expression that checks if input contains any of the following characters only: `~!@#$%^&*()-=+\|/?.>,<;:'"[{]} I want to allow users to input any normal character a-z or any numbers as well as underscores and any special character that resembles a letter such as …
my requirement is textarea have 3 keywords. no need to count letters per line. but each keyword separated by commas. forexample: abc is one keyword, defgh is another keyword, kalpana is another keyword. so we are entering like this abc,defgh,kalpana into textarea . there is no need to count no.of …
How to parse an xml from javascript from code beside page? i have tried [code] var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = false; xmlDoc.onreadystatechange = Readxml; xmlDoc.load("abc.xml"); [/code] but the error is that the xml is not loaded? i am using visual studio 2008.thnks in advance
I want this carousel slideshow to also start automatically if idle after a few secs... I tried adding a set interval but with no success so far, please help!!! YAHOO.example = function() { var $D = YAHOO.util.Dom; var $E = YAHOO.util.Event; var $A = YAHOO.util.Anim; var $M = YAHOO.util.Motion; var …
Hi, I want to block some content of web site, urls and query string programatically. Suppose i am entering my url in web browser and if my url is there in block list then it should not redirect. Simmilerly for query strings which are being search on browser or domain. …
I have three dropdown list. Each has "Select" as the first option. The user shall choose atleast one option from atleast one dropdown list. if not an alert has to shown. How to accomplish this?
Ok I have a site, the site allows me to create multiple pages dynamically, the pages are smarty pages. The editor for the pages is tiny_mce When I go to create the page all goes well, I design then paste the code in html to the tiny_mce interface. When I …
Hi All, I guess, at least according to my welcoming pm, I should introduce myself. I am very new to web development, I have used access and have been very active on an access forum since June. I am now trying to branch out from Access into other things, and …
Hiii. Iam using alert box to display the total payment modes. But in Alert it displaying only 62 out of 110. my Code:: var hidpaym = document.frmrechnung.hidpayt.value; var str = hidpaym.split(",") var st = "" ; alert("str.length::"+str.length) for (i=0;i < str.length ; i++) { if (st == "") { st …
Is there a code that changes decimal places? Example if you have 333.333333..... can you make it say just 333 Thanks
Hi everyone, Im trying to make a personal home page that both shows the time and a random background each refresh using javascript. so far i have managed to get either one or the other to work but not both. i want to know if anyone could try and tell …
hi to all. i have two radio buttons with one name. and also have one text area box. Depending on first radio button is chosen It will allow 2 entries(Enter key words Separate by comers) per line, and at the same second radio button chosen it will allow 4 entries(Enter …
ok so i am an avid php developer and i am starting to get into ajax so i can keep file sizes and code down to a minimum. i am looking in the w3schools ajax examples but i am a little lost at how to send through a variable to …
Hello. I am Chase Bonvie, but I browse as Chase Network. I am currently studying C++ with a side-dish of JavaScript to maintain my AFJROTC corps' website. I like coffee, as long as it's black. I also like all sorts of tea. I dislike, no, hate everyone who drinks my …
how to print a resultset in a jtable.. I have retreived the data set and I want it to desplay in a table as it is in the database. How can i achieve it? thnakx.
What is wrong with my code? [code] String[] movieString = {"movie1", "movie2", "movie3", "movie4"}; JComboBox movieList = new JComboBox(movieString); movieList.addActionListener( new ActionListener(){ public void actionPerformed(ActionEvent e) { JComboBox a = (JComboBox) e.getSource(); //String movies = (String)a.getSelectedItem(); if (e.isSelected()); return subpanel; } }); }[/code]
Hi all, i am new to AJAX, so need some help I want to create simple feedback (comment) form, base on AJAX. So, I have my HTML form, and even have my SQL database, and PHP script. All is working quite ok, but I need to make it AJAX - …
The End.