15,127 Topics

Member Avatar for
Member Avatar for jeraldmuthu

Hi i have generating xml file for chart(fusion chart). that chart having swf format file for each chart. i'm creating xml in case statement( case 1 for horizontal bar xml(file),case 2 for verical bar xml(file)) i have created that file by giving straight path it is not servlet it is …

0
129
Member Avatar for Behseini

Hi, Could you please take a look at following link and let me know how I can add a loop to my script in order to repeat the animate() function for example for every 30 seconds? [URL="http://www.geoca.com/Mover/"]http://www.geoca.com/Mover/[/URL] as you can see the animate function just runs for one time but …

Member Avatar for Airshow
0
152
Member Avatar for kaizokupuffball

Hi! I am animating on click, and when i click the element a box fades in, but i got a problem. Inside my div tag i fetch user info from a database, now if i try to click a member named Test i get the info from the Test user, …

Member Avatar for kaizokupuffball
0
185
Member Avatar for rakwel10

Hi! I have this code that adds field when the user hit the "add new field" button. The problem here is, once you added an input field, then fill it out, then add a new field again, the info in the first field be erased. As how the code runs, …

Member Avatar for Morta
0
152
Member Avatar for krishna501

[CODE] Holidays.jsp: <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert Holidays Data</title> <script src="HolidaysValidation.js" type="text/javascript"></script> <style type="text/css"> #hihint{ position:absolute; right:350px; top:85px; } #hnhint{ position:absolute; right:450px; top:110px; } #mhint{ position:absolute; right:450px; top:130px; } #hdhint{ position:absolute; right:330px; top:160px; } …

0
45
Member Avatar for tcollins412

i am trying to submit a form in jquery without refreshing it. for my jquery code i have this: [CODE] $(function() { $(".submitbuttonsend").click(function() { var dataString = 'reqtoid=<?php echo $uid; ?>&reqfromid=<?php echo $id; ?>'; $.ajax({ type: "POST", url: "proccess.php", data: dataString, success: function() { $('#freekk').html("<div id='message' style='color: #4f4f4f; font-size: 12px; …

Member Avatar for AleMonteiro
0
120
Member Avatar for miriam159

Hi I have implemented an iframe that contains several links to other pages. I can't change the content of the iframe because it's on another server. Here you can see an example of the code for one link in the iframe: [CODE] <a href="javascript: void(0);" onclick="openUrl('http://www.streambeam.org');" title="">Link 1</a> [/CODE] Now …

Member Avatar for AleMonteiro
0
3K
Member Avatar for extemer

hi i want to validate my id field that if someone enter data other than id in the id field it show message that its not id.i have little bit of logic to validate but i am not getting the point that how to validate that it only accept numeric …

Member Avatar for ddymacek
0
106
Member Avatar for DILO3D

I describe my problem with following simple example. [CODE] function show(str) { if (window.XMLHttpRequest){ xmlhttp=new XMLHttpRequest(); } else xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtHint").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","data.php?q="+str,true); xmlhttp.send(); } [/CODE] here,i am getting some responsetext or result from data.php file through my request. In my …

Member Avatar for Sorcher
0
327
Member Avatar for G_Waddell

Hi All, I have to deliver a secure web ASP.net site that after 20 minutes of inactivity wipes the users sessions and forces then to login again. I have set up all the necessary timeouts on the server and at the top of each of my master pages I have …

Member Avatar for Airshow
0
638
Member Avatar for jacob21

Hi, I am using google custom search & getting result on the same page. I am trying to show search result on the new tab. Need suggestion..

Member Avatar for gotboots
0
62
Member Avatar for rejisha

hi all.... i want to add 01+1 and my desired output is 02. my code is var t=01; var t2=t+1; alert(t2); the alert value is 2. I want 02....what will i do? thanks in advance....

Member Avatar for revathyrace
0
109
Member Avatar for ankit.pandey3

[CODE]<?xml version="1.0" encoding="[CONTENT_ENCODING/]"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="[LANG_CODE/]" lang="[LANG_CODE/]" dir="[BASE_DIRECTION/]"> <head> <meta http-equiv="Content-Type" content="[CONTENT_TYPE/]" /> <title>Micro Customer Care</title> <style type="text/css"> body { padding:0; margin:0; } </style> [STYLE_SHEETS/] <!--[if lt IE 7]> <link rel="stylesheet" type="text/css" href="css/ie5-6.css"/> <![endif]--> <script src="js/chat.js" type="text/javascript" charset="UTF-8"></script> <script src="js/lang/[LANG_CODE/].js" type="text/javascript" charset="UTF-8"></script> …

0
65
Member Avatar for johnniegee

I am reading data from a mysql db to my webpage. I wish to make a google pi-chart but have no idea how to pass the data from php (html?) to javascript(?) to populate the graph. I'm reading the rows into the html page ok, they are dispaying in a …

Member Avatar for Ichcha
0
210
Member Avatar for dimasalang

hi experts.. I'm new to javascript/ajax and i need to upload a picture to a server then the server will send a preview without redreshing the page..how can i do that? any suggestion? or sites for tutorials? thanks for help.. i need this ASAP..

Member Avatar for dimasalang
0
102
Member Avatar for siina

I need to make javascript code where i ask question from user and if he answers yes he will get new question but if he answers no he will only get third question not second. Then i need to save answers to database. How to start writing this code?

Member Avatar for mrnutty
0
75
Member Avatar for rakwel10

Hi! I have this code that adds field when the user hit the "add new field" button. The problem here is, once you added an input field, then fill it out, then add a new field again, the info in the first field be erased. As how the code runs, …

0
120
Member Avatar for samsnov

Please I am searching for a script that will ask the search engine to place the item searched at a particular place in a page ,my need is how can I describe such script to search engine if I am to search for it online, dose it has a name. …

Member Avatar for pritaeas
0
41
Member Avatar for Nahiyan

Hello, I am experiencing a problem with running javascript code when ajax calls a file. I have a file named 'index.php' which simply loads some comments by using the file 'comment.inc.php' and run some javascript code to change the id of some div. I don't know how to let the …

Member Avatar for Nahiyan
0
502
Member Avatar for niche1

Can someone work createElement into this script to demo its use? I think the two can work together, but I don't know how. [CODE]<html> <head> <script type="text/javascript"> function myFunction(anid) { var cssatr = document.getElementById(anid).getAttribute('style'); // get the value of "style" var htmlanid = document.getElementById(anid).innerHTML; // get html code return ('css …

Member Avatar for niche1
0
120
Member Avatar for niche1

how do I get the css and the html into the function? [code]<html> <head> <script type="text/javascript"> function myFunction() { return ("Hello world!"); } </script> </head> <body> <div style="float:right;"> <script type="text/javascript"> document.write(myFunction()) </script> </div> </body> </html>[/code]

Member Avatar for niche1
0
121
Member Avatar for newbie14

Dear All, I have two pages with the similar codes. One is here [url]http://183.78.169.53/tm/addTyreSwap1.php[/url] in this page you have select the vehicle via the drop down list then a number of tyre will appear via the ajax call. The problem is that both the draggable and droppable is attached to …

0
76
Member Avatar for rouse

I am writing some learning code to convert an XML file to a JavaScript array. So far I can convert from XML to JSON with this: [code] <?php $xmlStr = simplexml_load_file("xml/galleryXML.xml"); $jsonStr = json_encode($xmlStr); ?> [/code] I don't know and can't find a way to convert to a JavaScript array …

Member Avatar for rouse
0
356
Member Avatar for extemer

what i am trying to do is when i click the div it decreases to width=100px and when i click it again it changes it to original size but i am getting the problem in the second part where i want to re size it to original size i known …

Member Avatar for Airshow
0
147
Member Avatar for fire eaters

when i click the link the the div is resized to 100px .. but again if i click i want to the the div to be same as before (800px) using the same sliding animation ..how can i do that [CODE] #ee{ border:1px solid #00F; height:100px; width:800px; position: absolute; } …

Member Avatar for extemer
0
110
Member Avatar for shashankit

I have a HTML table having currently 3 rows and 7 columns. here rows and column may increase in future. Row1.Column3.Value= Row1.Column1.Value + Row1.Column2.Value Row1.Column7.Value= (Row1.Column3.Value - Row1.Column4.Value - Row1.Column5.Value ) * Row1.Column6.Value It should be repeated in every rows. I did but my code traversing only with first ROW

0
41
Member Avatar for William Blore

okay, I've got another problem. How can I obtain content of cascade style, using javascript? I know, there's a code document.getElementById('id').style.border='5px solid blue'; for example, but I need to do reversed operation, not to change style, but obtain it. I hope I've described my problem clearly enough enough ;) Thanks …

Member Avatar for extemer
0
120
Member Avatar for Rahul V S

Hi, :) I am a newbie here and this is my first post. :?: I always wonder whether there is a better way of putting this or that or is there a work around for that, etc.... :idea: So, its better if we can have an uncluttered discussion topic that …

Member Avatar for LaxLoafer
0
94
Member Avatar for Lyandor

Hey guys, is there a way to get a node's name and assign it as a value to a variable using javascript? Here's an example structure of the xml. [CODE] <list> <student id="101"> <name>John Smith</name> <DOB>07-09-1987</DOB> <address>123 ABC street</address> </student> <student id="102"> <name>John Doe</name> <DOB>05-04-1986</DOB> <address>234 DEF street</address> <address2>345 GHI …

0
106
Member Avatar for rakwel10

Can I configure this function to make it print a certain pixel only? Around 500px X 700px Center. <script language="javascript"> ... function printpage() { window.print(); } </script> Is it possible?

Member Avatar for Airshow
0
154

The End.