15,699 Topics

Member Avatar for
Member Avatar for footyboy87

As above, vital for my project! I need a while look whereby a customer will enter a currency value, which must be an integer obviously. They must enter 10 currency values and the sum of these values must be printed. Any help would be much appreciated!

Member Avatar for Graphix
0
65
Member Avatar for benqus

Hello everybody! I have a serious problem with my diploma work! So here it is: My ajax.js file cannot be executed. It does nothing when I click on the buttons... Here's the ajax.js code:4 [CODE] function opensave(type){ url="open.php"; content=replacer("editor"); var xmlhttp=if(window.XMLHttpRequest){ new XMLHttpRequest(); } else if(){ new ActiveXObject("Microsoft.XMLHTTP"); }; xmlhttp.onreadystatechange=stateChanged(); …

Member Avatar for Graphix
0
139
Member Avatar for Aaron Robinson

I am looking into using JQuery cookies to keep track of a menu when the page is reloaded ([url]http://plugins.jquery.com/project/cookie[/url]). I am using GET/POST to change the content section of my website layout. My question is about session-cookies. They are only destroyed when the browser closes, not when the user leaves …

0
338
Member Avatar for angelicakirana

Hello, i'am newbie. I don't know about programming language,in each language, i only know "hello world". Javascript is spend more expensive bandhwidth. Especially for Limited Account of hosting. Is it possible to convert javascript to php or html ???

Member Avatar for angelicakirana
0
3K
Member Avatar for farsen

Hi. In lack of better examples, I´ve found this javascript example which shows and hides content in a sliding way. Exactly what need. You can see the example here: [URL="http://www.dhtmlgoodies.com/index.html?whichScript=show_hide_content_slide"]http://www.dhtmlgoodies.com/index.html?whichScript=show_hide_content_slide[/URL] And the demo here: [URL="http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html"]http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html[/URL] Problem is, because of my text and image layout, I want the hide/reveal text to …

0
144
Member Avatar for danielperez

I want to know what would be better to learn java or javascript and what is the difference. Also what would be a good free study manual or program that could help me.

Member Avatar for magicalmakx
0
92
Member Avatar for gupta.software

I have Webpage written using PHP that displays drop down data from MySQL tables. I want my page to refresh and appeared new entry list in drop down list, after new records are entered to the database.I want auto refresh but when submit the form only.

Member Avatar for gupta.software
0
228
Member Avatar for phoenix_dwarf

I'm trying to test out the Ajax multihandleslider control but the control dos not show up on the screen. Only an empty text box. Am i doing something wrong? This is everything... [CODE] <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" EnablePartialRendering="true" /> <div> <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate> <table> …

Member Avatar for phoenix_dwarf
0
126
Member Avatar for cali_dotcom

i have 3 form on a page and unfortunately i am not allowed to change that. the problem is when the third form is submitted, i would need to grab the data displayed from the second form to update the database incase the user changed anything on it. does anyone …

Member Avatar for danielh
0
93
Member Avatar for peck3277

Hi guys, Im having a problem with some code here. I have 2 divs and 2 buttons. I want 1 dive to hide and 1 display when i click one button. And when I click the other button the other div displays/hides. I'm using the below code but it just …

Member Avatar for cloud09
0
108
Member Avatar for icats

Hello! I could do this in Struts 1 but can't for the life of me figure out how to do this in struts 2!!! Basically, data I posted as a JS array would come into the action as a String array, but now nothing comes in and "myCars is null". …

0
87
Member Avatar for albertkao

My table columns are sorted by the Tablekit library (millstream.com.au/upload/code/tablekit/). The user can click the columns to toggle the sort order either ascendingly or descendingly. I can save the current sort order (preference) in the server. After the page is refreshed, the web page is sorted by the original sort …

0
75
Member Avatar for danielh

If a user navigates away from a page while that page has a pending asynchronous ajax request that request will most likely hang and just remain sitting there hogging one of the (normally two) available per-domain connections for a few minutes. If more requests get stuck and all available connections …

0
49
Member Avatar for nishant52

I'm trying to perform multiple inserts into a table present in SQLite database using JavaScript. For this purpose I'm using Transactions. Here is my code (HTML + JavaScript): <html> <head> <script language="javascript"> var shortName = 'Test'; var version = '1.0'; var displayName = 'Test'; var maxSize = 65536; db = …

0
99
Member Avatar for tryphy

I have a multi form, In a form, i have the <back and Next> button. So i used the form action in these to button, I also have a validation which i did using javascript , [CODE] <head> <script type="text/javascript"> function validate_name(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false} …

Member Avatar for diafol
0
2K
Member Avatar for MartinJ

Hi there, i have a bit of a problem with integrating CKeditor... I have a dynamic dropdown select box filled from MySQL, i have followed an Ajax tutorial on W3 schools [url]http://www.w3schools.com/php/php_ajax_database.asp[/url] on how to get the selection pulled from MySQL to populate a textarea where it can then be …

0
45
Member Avatar for ephremmie

[QUOTE=me655321;1078383]Oh ok...you need to use scale="exactfit"... [CODE] <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" WIDTH="400" HEIGHT="200"> <PARAM NAME=movie VALUE="Images/Directions/map.swf"> <PARAM NAME=scale VALUE="exactfit"> <EMBED src="Images/Directions/map.swf" WIDTH="400" HEIGHT="200" TYPE="application/x-shockwave-flash" SCALE="exactfit" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> </OBJECT> [/CODE] That should do it for you.[/QUOTE] Please help me to view an .swf video in fullscreen mode by default. When the user …

0
42
Member Avatar for Bubbleboy

Hi everyone. I, like the majority of us web developer's, despise internet explorer. So on my site, i want to put something in just for the fun of it that detects IE and says something. Right now i have just a plain alert asking to please change to a different …

Member Avatar for alexhernandez
0
151
Member Avatar for phoenix_dwarf

I got a simple javascript function in my asp.net page that just checks to see if one value is smaller than the other. The condition value is 15000.00 and i'm comparing it to 920.00 Why does it evaluate to false? [CODE] var moo= 15000.00; var orig= 920.00; var bool = …

Member Avatar for phoenix_dwarf
0
108
Member Avatar for JuliaNell

I have two files which has two types of profiles (user and Admin), Now the problem is how do i create a session which if im a user takes me to the user page and when im admin takes me to admin page!!!

Member Avatar for sureronald
0
76
Member Avatar for tryphy

Hi, I have a javascript function to disable and enable a textbox. [CODE] <SCRIPT LANGUAGE="JavaScript"> function enable() { document.form1.tmphone2.disabled=false; document.form1.pmphone2.disabled=false; } function disable() { document.form1.tmphone2.disabled=true; document.form1.pmphone2.disabled=true; } </SCRIPT> [/CODE] I need to call the function in a php code, on condition Heres my code: [CODE] <?php $cc = $row['company_country']; $s …

Member Avatar for EvolutionFallen
0
2K
Member Avatar for avinash_545

Dear all, can you please help me with a small timer problem.i dont know why but firefox is not displaying the small clock from my codes, though javascript is enable. <html> <head> <script type="text/javascript"> function startTime() { var today=new Date(); var h= today.getHours(); var m= today.getMinutes(); var s= today.getSeconds(); //Now …

Member Avatar for avinash_545
0
112
Member Avatar for obscured47

A bit of a lame request - I just don't have a lot of time to look it up.. I need a script to login to a website (outside my domain) and then make a very simple web request. How do I go about doing that? Thanks.

Member Avatar for pritaeas
0
59
Member Avatar for sarahgn4t

Can someone help me add a css rule to my web template? I want to change the width of it?? It is wider than the normal size template so it runs off the page. How do I make it skinnier?

Member Avatar for almostbob
0
66
Member Avatar for peck3277

Hi guys I'm hoping someone can help me out here. I am using the JCarousel plugin on a site im building. I have it installed and I am using 2 buttons to hide some of the carousels items. I am using the following code to do so: [CODE]<script type="text/javascript"> function …

0
75
Member Avatar for -Zarah-

im trying to get an image scroller to work that i found in a code library. its working fine in firefox but not in inet explorer this is the link to the scoller... http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm i am just interested in the image part. ive deleted the script for the text part …

Member Avatar for Airshow
0
143
Member Avatar for anabreu

Hello, I'm new at this forum, let me just point out I'm not a developer, I'm just a designer who has to strugle to do simple things that work, all by myself - and I'm usually successfull... but not this time, I have searched and searched literally for hours, and …

Member Avatar for Romil797
0
147
Member Avatar for UberJoker

Hey Guys. I cant actually think of a way to do this. Let me rephrase my question. I essentially want a perl script to run based on something that i am doing in javascript. for example: <javascript> if(x == 1) { then run the perl script. } </javascript> i dont …

Member Avatar for Airshow
0
3K
Member Avatar for kamalkumar

[CODE]if (window.XMLHttpRequest) { xhttp=new XMLHttpRequest(); } else // Internet Explorer 5/6 { xhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xhttp.open("GET","cd_catalog.xml",false); xhttp.send("");[/CODE] ============= this code working in IE but not working in Other Browser pls help me

Member Avatar for xylude
0
85
Member Avatar for xylude

I am using prettyPhoto ([url]http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/[/url]) and some ajax together. I am trying to figure out how to get the responseText that contains the links with rel='prettyPhoto' to actually work. Or really how to get any js to work as responseText. Not really looking for anyone to do it for me …

0
60
Member Avatar for FireNet

Hi, I am looking for a way to use minimal javascript to open a popup window when the user clicks on an input field and allow them to choose one string inside the pop up window (like click on a radio button) and get the input box in the parent …

Member Avatar for kareem.ramos
0
2K
Member Avatar for igor35

How to calculate between date in html form fields? Calculate: Date (dd/mm/yyyy) --> 12/12/2010 minus 29/08/2009 Answer: 1 years, 3 months, and 14 days

0
47
Member Avatar for peck3277

Hey guys, Just wondeing if anyone knows of any jquery plugins or carousels that can give me one like seen here [url]http://www.puma.com/us/en/pindex.jsp[/url] specifically being able to change the items in the carousel? Or any articles on how to make one like it would be good too!

Member Avatar for MoonTraveller
0
70
Member Avatar for Nilesh Warude

I have 4 static control like textbox and checkbox and i'm created another dynamic control using button so i want to save data using ajax give me solution

Member Avatar for almostbob
-2
54
Member Avatar for shakthi712

hi friends I am developing a chat application here i have kept general chat room here multi users can chat with each other but now i want one to one chat in my application, when logged user click on any user in the user list, one pop up window should …

Member Avatar for kvprajapati
0
99
Member Avatar for Bubbleboy

I am really confused. I want to make a <p> tag hidden using javascript, and then, if i detect its running IE, i want to make it visible. I can't even make it hidden though. I have tried [CODE]<script type="text/javascript> document.warning.style[visibility] = 'hidden';[/CODE] i've tried [CODE]<script type="text/javascript> document.warning.style.visibility = 'hidden';[/CODE] …

Member Avatar for Bubbleboy
0
198
Member Avatar for jamey8420

Hello, I have a php page that I am using AJAX to populate some check boxes based on a selection in a drop down box. Now, I'd like to expand that functionality to do something similar to this: [url]http://www.dhtmlgoodies.com/scripts/multiple_select/multiple_select.html[/url] However, the troubling part is that I can have multiple groups …

Member Avatar for jamey8420
0
195
Member Avatar for dedzcnaga

I'm new in this forumm, newbie in javascript and my English isn't good enough. I hope everyone can understand what I am going to ask. I am trying to make a bookmarklet for an apps in facebook, which is working with Iframe. The bookmarklet that I want to build is …

0
49
Member Avatar for sassenach

Hi, My site: [url]http://www.orchot-hagilboa.com/index.php?mid=1[/url] My jquery form is working properly in most areas except where i have an online wysiwyg editor. If you look at the right side of the site, you will see the editor. It creates a textarea form field. When i send the form, the reply_desc (textarea …

Member Avatar for alexhernandez
0
164
Member Avatar for MDanz

i have a top frame with a webpage. i have a bottom frame with the javascript. I'm trying to get the url of the top frame with javascript. the top frame id is link_frame. i'm trying get an alert box with the top frames url. the code i tried isn't …

Member Avatar for LesF
0
90
Member Avatar for Kitten84

I have a web page that contains a bunch of advertisements. What I need to do it randomly shuffle these images each time the page is refreshed. I cannot have any repeating ads. Here is the code I have now.... it repeats images. [code] <html> <head> <script type="text/javascript"> function random() …

Member Avatar for Kitten84
0
2K
Member Avatar for winbach

Greetings. I am using this code for a photo gallery. <script language="JavaScript"> function LoadGallery(pictureName,imageFile,titleCaption,captionText) { if (document.all) { document.getElementById(pictureName).style.filter="blendTrans(duration=1)"; document.getElementById(pictureName).filters.blendTrans.Apply(); } document.getElementById(pictureName).src = imageFile; if (document.all) { document.getElementById(pictureName).filters.blendTrans.Play(); } document.getElementById(titleCaption).innerHTML=captionText; } </script> With an onclick statement like this: <a href="#_self" onclick="LoadGallery('Gallery', 'image.jpg', 'Caption', 'captiontext')">Link</a> It totally works but I would …

Member Avatar for Bubbleboy
0
405
Member Avatar for jasystweb

My page is not displaying correctly in Internet Explorer. Its displays properly in all other browsers. The issue: Internet Explorer When the page is loaded-- Internet Explorer places DIV tags between the the <LI> elements on my page and in other areas of the controls which have been dynamically added …

Member Avatar for Airshow
0
241
Member Avatar for George.Storm

Hey, I'm trying to create a website for a friend, which involves a login system, with registering users, and then booking places on weekends away. I have no knowledge of javascript, but would like to use it for client side updates, I only have a week or 2 left to …

Member Avatar for George.Storm
0
164
Member Avatar for davidcrossan

hi there i need help please to create a ajax drop down list which loads text files in a div tag from the user choice.so if the user selects western adventure it will load up the text file onto the slected div tag without refreshing the page drop down list …

0
51
Member Avatar for albertkao

After clicking the checkbox, I like to get the value of the checkbox submitted. Why the following page always get the value "20" for checkboxChoice and checkboxvalue no matter which checkbox I clicked? Please help. [CODE] <tr> <td> <div class='fg1'> <input type="checkbox" name="checkboxChoice" value="20" checked onclick="submit()"> Choice </div> <input type="hidden" …

Member Avatar for Airshow
0
121
Member Avatar for JavaFrk

Hi All, i want to develop a realtime stock updation chart with js,Ajax,MySQl and Eclipse. Environment with MySQL,JS and tomcat is established. Now how can i start with the use of Ajax into Eclipse and go through dis module is there any source example or code available ? Thank u …

Member Avatar for JavaFrk
0
71
Member Avatar for stockton

I have the following html [code] <html> <head> <title>Voucher Usage</title> <script language="JavaScript" type="text/javascript" src="js/voucher.js"></script> </head> <body onLoad="document.VU.Number.focus()"> <form name="VU" id="VU" method="post" > Voucher Number: <input type="text" size="20" maxlength="20" id="Number" name="Number" onChange='submit_click(this.value)'><br /> <center> <div id="loadingNode"></div> </center> </body> </html> <script language=javascript> function submit_click(VoucherNumber) { if ((VoucherNumber[0] == ";") && (VoucherNumber[strlen(VoucherNumber) -1] …

0
64
Member Avatar for KPooja

Hello all, I am using IE. I have dropdown list with <select><option></option></select> on which i cannot provide custom tooltip on hover, because <option> will not support onmouseover event. so i am now supposed to create one custom dropdownlist [B]not using <select><option></option></select>.[/B] may be using combination of <table> and <textbox> on …

Member Avatar for KPooja
0
160
Member Avatar for umairraja52

I have a website where i use AJAX script and display the output in the Combo Box but i have problem: Combo Box Return values like : 22 23 24 25 (All in one line) But Values should like Combo box values : 22 23 24 25 How i can …

Member Avatar for Renukavani
0
41

The End.