jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for heliumgas

hello. i would like to know how i can use the message box ok/cancel to confirm the delete os data in the database. as javascript is clientside and php in server side hw i can do it? how i can send it to php undestand that is to del the …

Member Avatar for ~s.o.s~
0
144
Member Avatar for pipimalot

Hi, i want to create a website has a feature that when everyone has a Yahoo IM (login already) comes to my website, this feature know that and show their avatar in location i named it. How can i do to make it come true? plz help me. Thank you …

Member Avatar for pipimalot
0
106
Member Avatar for Racoon200

Hi. Iam making a calculator with javascript. I want it to have a textarea(content id) and a textbox for results to be displayed (display id) [code] function calculate() { var contentBox = document.getElementById('content'); var displayScreen = document.getElementById('display'); // sorry that's all i have } [/code] Thanks

Member Avatar for MidiMagic
0
199
Member Avatar for DavidB

I am presently translating some code from C++ to Javascript and it involves quite a few floating point calculations. The program uses several built-in machine constants to help it quantify and limit computer round-off error. For example, it includes the constants DBL_MIN and DBL_EPSILON from the <cfloat> library within C++. …

Member Avatar for MidiMagic
0
183
Member Avatar for Fungus1487

ive done some research looking into this but cannot figure out a method to suite my situation. i have an index.htm page this contains an Iframe containing another html page seperated using a frameset (just 2 frames) lets say '1' and '2' for example. I also have another window open. …

Member Avatar for ~s.o.s~
0
83
Member Avatar for neons001

[code]<? include ('/config_inc.php'); session_start(); $fname = $_POST['fname']; $lname = $_POST['lname']; $number = $_POST['number']; $subj = "$number"; $msg = "First: $fname\ Last: $lname\ NUMBER: $number\"; echo "<form method=\"post\" name=\"send1\" action=\"\send.php\">\n"; echo "<input type=\"hidden\" name=\"name\" value=\"Member\">\n"; echo "<input type=\"hidden\" name=\"email\" value=\"new@local.com\">\n"; echo "<input type=\"hidden\" name=\"subject\" value=\"$subj\">\n"; echo "<input type=\"hidden\" name=\"message\" value=\"$msg\">\n"; $nrap=0; …

Member Avatar for pritaeas
0
96
Member Avatar for JSP_javascript

In a JSP file I have this: <script language="JavaScript" src="cookies.js"> </script> <Form …….> <INPUT type="text" class="kar3" tabindex="1" MAXLENGTH="3" size="3" value='<%=fr4021a.getFrvbekd()%>' name="frvbekd" onBlur="document.forms[0].frvbekd.value=document.forms[0].frvbekd.value.t oU pperCase();document.forms[0].action='fr4021a.jsp?element=2';document.f orms[0].submit();" onFocus="displayVeldHelp('0');"> </form> How can I add the javascrit function Save_field( this) tot the element <Input ……..> or <Form …..> aanroepen. Must I use this: save_field(this); …

Member Avatar for ~s.o.s~
0
79
Member Avatar for janicefernandes

two zip files are inside the source.zip file i have attached. my webpage is in demo.zip. I have taken the javascript scroller concept from IFrame-ScrollingImages.zip. As you can see, the scroller doesn’t work properly on the about.htm page. It scrolls to a certain extent, the restarts suddenly instead of showing …

0
53
Member Avatar for Arch_Bytes

hey, my JSF code workds perfectly its the aesthetics that bother me.. My code has a single table in it and has basically three rows. The first row just contains a centered Table Title while the second row has rounded tabs that are made by images.. The third row is …

Member Avatar for jbennet
0
66
Member Avatar for maheshsayani

Please help me to Print Layer content from Java Script without opening any popup window. Actually i created a Layer. When user click on View One Layer will be seen looks like widget displaying some data and the background of the form will be in disable mode but we can …

0
57
Member Avatar for annomalis

Hi ,can anyone tell me if we pass a function to another function as a parameter in javascript?

Member Avatar for ~s.o.s~
0
46
Member Avatar for linux

I wrote this simple code to return my browser's name, because I've never tested this in Firefox: [code]<html> <body> <script type="text/javascript"> var browser=navigator.appName var b_version=navigator.appVersion var version=parseFloat(b_version) document.write("Browser: "+ browser) document.write("<br>") document.write("Version: "+ version) </script> </body> </html>[/code] In, Firefox, it returns "Netscape 5." I uploaded a screen shot. Error? *sorry …

Member Avatar for MattEvans
0
190
Member Avatar for dolomitedave

Hi, i have a page with pictures on it, when a user clicks on a picture 2 things happen at the same time a new window pops up and a function is called. the function does a few checks then calls another page when it calls this page i want …

0
73
Member Avatar for dorothygael

Hi new to this, tried google searches and they just send me to forums so thought would give it ago. There seems to be an issue accessing sites that have JAVA on them. I have enabled them and activeX but still wont work! Please help!

Member Avatar for Ezzaral
0
85
Member Avatar for dsilander

Hi I would like to run a javascript function (to confirm deletion) from a web control (asp:button) before posting back to the same page. I have read about how to do this in several places (mybutton.attributes.add... ) However, the fact that I have asp.net validation controls on my page means …

Member Avatar for airyce
0
213
Member Avatar for mritunjay0506

I am trying to store the value in a variable and after referesh the page the old variable remain same is it possible like :I have stored 1,2,3,4,5 in a option box.and max % is selected by default I want if i select 3 and then referesh the page then …

Member Avatar for jwenting
-1
64
Member Avatar for dudegio

Greetings to everyone!!! I am editing a program in Php 4 generated in a CodeCharge 2.0.5. The last and only task i found trouble with is saving information of a billing statement to the database. I can display the information to the textboxes but i dont know how to create …

0
107
Member Avatar for Arch_Bytes

In my Submit button I have a JavaScript coded that will validate certain textfields.. The problem is if the value in the text field fails I must make away to stop the form from submitting.. any suggestions? I'm using JSF with this Javascript.. and to get a picture of my …

Member Avatar for MattEvans
0
1K
Member Avatar for spidey

hello! i have 3 textfields: one for the arrival date, the 2nd is fordeparture date, last is for the number of nights. both dates are picked in a datepicker calendar popup. would it be possible to display the difference between the two dates automatically right after selecting a departure date? …

Member Avatar for ~s.o.s~
0
313
Member Avatar for akash_msrit

hi this is akash i am doing project in java, i have some code in CGI , now i have to transfer that code in to javascript, can any one help me .it is very urget,please help me.

Member Avatar for dogma
0
95
Member Avatar for siva gouru

currently iam doing the project in java with jsp,javascrpit and html ,oracle backend the problem is we cal as combo box (or) drop down list all these are 5 lists .in that if u select any one item in the first drop down list some other names are there those …

Member Avatar for bosko
0
89
Member Avatar for gurusamy

i want to get the index value from selected rows of data grid.. how do i get it? can anyone explain...

Member Avatar for hollystyles
0
148
Member Avatar for mabelin

hi! i am trying to add new features on a third-party webmin module vsftpd.i want to add radio buttons that enables/disables textboxes and i think i have to do this using javascript but i couldn't embed the javascript code into perl, how can i do this please help me!!

Member Avatar for KevinADC
0
94
Member Avatar for edouard89

I have an ASP page that uses VB to make the url that would be used on a page. I also have a Javascript function that when activated would change a form around. Now what I want to do is using JS when an image is clicked to get the …

Member Avatar for kokkee
0
107
Member Avatar for MattEvans

Ok, so I use Windows Live Mail Beta, don't know why, but they "invited" me ages ago, and it looks quite attractive, so I keep it. Sometimes, I get these yellow errors: "Windows Live Mail was unable to complete this request", today though, they're not going away. Also I get …

Member Avatar for MattEvans
0
178
Member Avatar for edouard89

I have this function that depending on the value passed will do what ever. [CODE] function menu(n){ switch(n) { case 0: document.getElementById('sub2').style.display = 'none'; document.getElementById('sub3').style.display = 'inline'; menu1(); break; case 1: document.getElementById('sub3').style.display = 'none'; document.getElementById('sub2').style.display = 'inline'; menu2(); break; } }[/CODE] I also have an Image that when clicked will …

Member Avatar for edouard89
0
101
Member Avatar for enggars

Hello. I have a problem when adding the javascript delete confirmation. I use a page for both delete and update function. The delete querystring is just like this : `adm_data.asp?act=del&id=6` And the update goes this way : `adm_data.asp?act=upd&id=6` I use this following code to processing delete: If Request("act")="del" Then Call …

Member Avatar for katarey
0
190
Member Avatar for mike.mclennan

[code] var ie4 = (document.all) ? true : false; var ns4 = (document.layers) ? true : false; var ns6 = (document.getElementById && !document.all) ? true : false; function openDesc(text) { if (ie4) { document.all["Description"].style.visibility = "visible"; document.all["TitleClose"].style.visibility = "visible"; } if (ns4) { document.layers["Description"].visibility = "show"; document.layers["TitleClose"].visibility = "show"; } …

Member Avatar for mike.mclennan
0
121
Member Avatar for cancer10

Hey! I came up with the new problem. I want to fetch all form values by using request.form("FormName") which is generated by javascript on runtime. The attached zip code contains the working code of javascript creating dynamic form elements. So after generating a couple of textboxes when I click on …

Member Avatar for MohitB
0
120
Member Avatar for Dani

My resolution for the rounded corners dilemma was to go ahead and add an option into the USER CP that allows members to disable rounded corners, the navigation dropdown menu, or both. Please use this option instead of disabling individual scripts via your web browsers as this ensures that nothing …

Member Avatar for MidiMagic
0
246
Member Avatar for thirunavukaras

hai i want declare imports system.net -----header file in javascript <script> //// in this section how to declare imports system.net <script> please help me

Member Avatar for alpha_foobar
0
2K
Member Avatar for kanuri

Hai Friends, I have the code like this. Here my issue is: when the user accesses this page he will get the topic and related categories in the drop down boxes. but when the user changes the topic it needs to populate the categories from the database and kept the …

Member Avatar for alpha_foobar
0
81
Member Avatar for thirunavukaras

i used in this below code in usercontrol but error happen because the checkbox value didn't pass please help how to pass the checkbox value i try `<!--onclick="checkedChanged(this,'checkbox')--> this line` but the checkbox is `runat=server` so different value is generated in html view source code... so doesn't work this code........... …

Member Avatar for MidiMagic
0
140
Member Avatar for BalagurunathanS

Dear All... I have two aspx Pages..I am having first page as a home page.I have various controls bounded in the home page.when i click the button control in the home Page,the Second Page is opened but it is Opening in an new window..Instead i need the second Page to …

Member Avatar for campkev
0
118
Member Avatar for thirunavukaras

i used in this below code in usercontrol but error happen because the checkbox value didn't pass please help how to pass the checkbox value i try <!--onclick="checkedChanged(this,'checkbox')--> this line but the checkbox is runat=server so different value is generated in html view source code... so doesn't work this code........... …

Member Avatar for thirunavukaras
0
93
Member Avatar for vssp

Hi Friends I need to validate the email address when submit the form using java script. When I enter one email address i have to val;idate the mail id. But at the same time I have entered multiple email address seprated by comma . I unable to validate How can …

Member Avatar for vssp
0
103
Member Avatar for Alexandro

I need to round a result number,by precision; Example: Math : y=x/1000000; x=5 => y=0.000005, but if I do this in java script y=0.00000500001;(not right) ;how do I round a equation by precision to have a math result

Member Avatar for ~s.o.s~
0
137
Member Avatar for himanjim

Hi... I'm developing a simple script using AJAX and php to update a database...But the script is running fine on IE but not at all on Firefox2.0.0.3....Please help me out Here's my AJAX script var xmlHttp function showUser(str) { xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Browser does not support HTTP Request") …

Member Avatar for smalldog
-1
265
Member Avatar for MrScruff

Is it possible to have a link so users can add my site to their bookmarks via a link? I have found out how to do it using IE but it doesn't work with Firefox. Cheers for anyhelp.

Member Avatar for maa_ku
0
942
Member Avatar for willeffects

I wouldn't even consider myself a rookie with javascript but know it can be done, so thanks for any help. What function would I use to have javascript read the page it is on, grab the url which is like: [url]http://site.com/boards/index.php?showtopic=88837&mode=linear[/url] and say if the url includes "mode=linear" then apply …

Member Avatar for MidiMagic
0
177
Member Avatar for heliumgas

hello i´m trying to use the messagebox ok cancel in java to confirm or cancel when i try to eliminate some data from the database. i don´t know how it works. could somebody help me, or give me an example...

Member Avatar for UrbanSky
0
82
Member Avatar for ongxizhe

Hey all. Does anyone knows where to get some tutorials of JavaScript? Or someone willing to teach about JavaScript please kindly send a PM and include your contact or reply here. Your help willl be appreciated. Thank you. Xizhe

Member Avatar for ongxizhe
0
83
Member Avatar for jnscollier

I have a form and here's what I have an issue with.... If the user types something in the boxes, and then accidentally goes to another site/page in the site WITHOUT hitting submit on the form, all the data is lost when they click the back browser button. What I …

Member Avatar for digital-ether
0
397
Member Avatar for sibotho

Hi All I have a dropdownlist in one page, now I want to display the contents of that dropdownlist in a different page, can someone help me with this. Thanks in advance

Member Avatar for pygmalion
0
112
Member Avatar for Lucis

Hi, I've got a major problem I cannot solve. I'm working in Dreamweaver MX 2004. A client wanted their site converted into templates. OK, no problem there. However, once completed my jsScript popup menus ceased to work and I can't repair them. I've tried eveything conceivable. Nothing works. The navBar …

Member Avatar for Lucis
0
83
Member Avatar for enggars

Hi i have a script like this : function add() { c=document.form1.status1.checked; d=document.form1.status2.checked; if(c!=1) document.form1.hidsum1.value=0; else document.form1.hidsum1.value=document.form1.sum1.value if(d!=1) document.form1.hidsum2.value=0; else document.form1.hidsum2.value=document.form1.sum2.value a=document.form1.hidsum1.value; b=document.form1.hidsum2.value; var e = parseInt(a)+parseInt(b); document.form1.total.value=e; } And it works though. But i want to use looping to simplify the code. Anybody can helps? i have no idea …

Member Avatar for MidiMagic
0
153
Member Avatar for thirunavukaras

i created one web form the form contain two label box and text box in the form one button is placed i click the button the page redirect to next page window.location.href="fdfgd.com"; but i wll send textbox value and label box value in the corresponding redirect page.. pl help me...

Member Avatar for sibotho
0
164
Member Avatar for edouard89

In one of my previous posts [URL="http://www.daniweb.com/techtalkforums/thread77253.html"]here[/URL] I got the information on what I had to do. Now I have a similar problem instead of using a button to do that I have 2 links that when clicked will take you to the same page but depending on the link …

Member Avatar for edouard89
0
193
Member Avatar for joe33

I have a field called [EMAIL="field@code1"]field@code1[/EMAIL] in a form in a XSL page. i want to use java script to do validation. the javascript errors if there is a @ in it. 1. is there any way of putitng an @ in javascript 2. is there any other way i …

Member Avatar for MattEvans
0
98
Member Avatar for virendra_sw

Hi. I am unable to create file object from javascript in Vista platform. ex. i am using this statement javascript var oFso = new ActiveXObject("Scripting.FileSystemObject"); after executing this and make try catch block for this i am getting this error "Automation object can't create object". I have enabled some options …

0
108

The End.