15,127 Topics
| |
Hi again! I have this javascript code [CODE]function displayResult2(id) { xml=loadXMLDoc("anna.xml"); xsl=loadXMLDoc("c011.xsl"); // code for IE if (window.ActiveXObject) { ex=xml.transformNode(xsl); document.getElementById("right").innerHTML=ex; } // code for Mozilla, Firefox, Opera, etc. else if (document.implementation && document.implementation.createDocument) { var xsltProcessor=new XSLTProcessor(); xsltProcessor.importStylesheet(xsl); resultDocument = xsltProcessor.transformToFragment(xml,document); document.getElementById("right").appendChild(resultDocument); } }[/CODE] and I want to pass … | |
Does anyone know how to use a prompt on java applet? I was to create a very simple calculator. Two prompts will appear asking for inputs. Then the sum, product, difference, and quotient will appear on java applet. | |
[url]http://arnotinteractive.com/mayakaimal/httpdocs/recipes_coconutTEST.html[/url] In IE7/Windows the left vertical navbar disappears. I have used every hasLayout trick I know. Can anyone put a finger on it? I'm working with legacy code to complicate matters... Style sheet: [url]http://arnotinteractive.com/mayakaimal/httpdocs/alt_styles.css[/url] Help! I'm swamped! bb | |
Hello, I have this part of php code... [CODE] <?php $dom = new DomDocument(); $dom->load("anna.xml"); $xp = new domxpath($dom); $unitid = $xp->query("/ead/archdesc/dsc/c01/did/unitid"); foreach ($unitid as $check) { print '<a href="#" onClick="displayResult2(' . $check->textContent . ')">' . $check->textContent . ' </a>'; // I presented the unitid's of a xml file and … | |
Hi there ! I'm building my first GC extension, and I am having a problem using this function. I would like to get the url of the current tab, and to do so (after some google research, of course), I use the [I]chrome.tabs.getSelected()[/I] function. Here it is in my code … | |
Hello, I'm a relatively novice at JavaScript and I'm afraid I've ran into a bit of trouble. I need to create a series of dependent dropdown menus that will redirect to a new page based on the selections in the dropdown box. I've found some examples of different dependent dropdown … | |
I have an array of textboxes each having button on right side which when pressed the text should be displayed on new window using Jquery. For demo, you might have seen jquery lightbox plugin which shows the images in the new window. I want exactly same but instead of images … | |
can any one tell what is json? why it's used , can you explain with a example. | |
I have a WebPage that needs to pass information to a PHP page. Now the task is easy but the problem is that anyone can see the source and edit the information to be passed but I want only my page to pass the information. How can i achieve this? | |
I want to open a particular URL and download a file say ABCD.log every half an hour. (the same file) Is there any way i can automate this process using java script or any other method? Thanks in advance | |
I have an HTML form that has fields that allows a database to be searched and the results displayed. When initially displaying the page, all the records of the database appear, as if a search was performed without any query values. Is there any javascript coding that will stop the … | |
Dear all , Please help me out, i am using scriptaculous in my script. But it is giving error to me that Effect is not defined . [CODE] <head> <script type="text/javascript" src="/js/prototype.js"></script> <script type="text/javascript" src="/js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="/js/effects.js"></script> function only_refresh(){ // Some code . var fade_in = setInterval("fade_in()",5000); } function … | |
Hi, Can we retain multiple checkbox selection upon refresh or using pagination for few hundred records? There is a page where user sees all the items which has search box on the field column to perform searches and select items using checkbox besides those items. While searching the items page … | |
javescript program that adds all even integers between 1 to 100 | |
hi i have developed simple webapplication using JSP and JSF framework Step 1 : I have one login page : (contains username ,password and sumbit button) Step2 : I have one logout page : it has one link ([U]Go to login page[/U]), just u click this link go to login … | |
I have seen some websites that you can "like" a sentence off a website. I have been on facebook developer's page and noticed the meta tags that you need to use but that is for a whole page. Is there a way I can do incorporate a like button to … | |
Ok, I have 3 external pages I am loading in three locations on the page. So, I have the following in the head: [code]function allfunctions(){ clientSideInclude('center', 'http://127.0.0.1/cgi-bin/blosxom.cgi'); clientSideInclude('right', 'http://127.0.0.1/right.html'); clientSideInclude('left', 'http://127.0.0.1/left.html'); }[/code] Then, I load with: [code]<body onLoad="allfunctions();">[/code] The body contains some tables, and in each they look like: [code]<span … | |
I am trying to refresh part of my page using ajax and it works fine in FireFox but when I test it IE I get an error at "document.getElementById('ipb_table_reload').innerHTML = response;" which says "Unknown runtime error" the webpage can be found [url=http://www.trident-gaming.net/forums/index.php?app=ccs&module=pages§ion=pages&id=22]here[/url]. I have tried googling this error and everything … | |
I'm having an issue getting two Javascripts to work on one page. It seems that one disables the other and only one is working when previewed together. I know of a code that can be inserted so that both codes can function on one page, but I just can't lay … | |
My code is in the attachment alex.txt. When i press the button for first time it gives me error: 'null' is null or not an object. But when i press it again or refresh the page and press the button it gives me the result that i expect. When i … | |
Hello everyone. I am building a web application having various tables and 4-5option buttons in each table. When user check on one of these option buttons then the option is saved at server. I want whenever user returns the option marked by him earlier should be preloaded. For example if … | |
Below is my post script. I'm trying to make it have a flood check (or something to stop people from spamming and crashing my servers) and my solution is to make a message appear saying "You've posted" when they hit the Post button. I tried adding Javascript alerts in multiple … | |
Hey everyone, I literally just started to learn Javascript today and started with a function that takes in a string and tells you the number of vowels (a,e,I,o,u) in it. It works, but when I use document.write(vowel("hello")) in my body, instead of just giving an output of "this string has … | |
Hi, do you know how we can convert java script to html code, or put all the java script in some " " cuz I have java programs and want to put them on my web, so ... I heard that there is a special program which converts html, javascript, … | |
e.g. [code]<table><tr><td onclick='ChgText()'>test</td></tr></table>[/code] now "test" are results from mysql. So i want all those results to load before onclick on the column can be enabled. This is because if i press onclick too quickly, the function doesn't capture certain information. any help? | |
The following code works fine in IE8 and Firefox 3.5. Any idea why it does not work in Chrome ? Tried it both in localhost and on my web server -- no success. In the header: [code = php] <?php if((isset($_COOKIE["unique_id"]))&&isset($_COOKIE["users_resolution"])){ $screen_res = $_COOKIE["users_resolution"]; $unique_id = $_COOKIE["unique_id"]; } else //means … | |
I'm interested in learning how to do this. What I'm doing is I'm making a social networking site linked to a game called Habbo, and for the registration page, once they put in their Habbo Username, I want to be able to load the image next to it. [url]http://www.habbo.com/habbo-imaging/avatarimage?user=[/url][[[[TEXTBOX.DATA]]]]&direction=2&head_direction=2&gesture=sml&size=l&img_format=gif That … | |
I'm new to Javascript but not new to programming. I find JS more time consuming because I have to manually search line by line for a single error. In C++ or C the compiler tells me the exact line number of the error or at least what the error is … | |
I am almost done with my webpage using jquery skins and tabs..It doesnt show proper in IE6 .. What can i do????help | |
In an html form, I want a certain field to be invisible when "no" is checked and visible when "yes" is checked. This is my code: html: [code] <form action="pageName.html" method="post" name="formName"> Question? <input name="radioBool" type="radio" value="1" onchange="dispField('textInput');" />yes <input name="radioBool" type="radio" value="0" onchange="dispField('textInput');" />no <br /> <span id="textInput" style="display:none"> … |
The End.