15,700 Topics

Member Avatar for
Member Avatar for Ravenous Wolf

can anyone tell me if it is possible to open and read or write to files by using javascript? basically what i would need is something like random access files and to use them in javascript in the same way that i can in any programming language. or is there …

Member Avatar for stymiee
0
47
Member Avatar for BalagurunathanS

Dear Friends.. I am having an .aspx page in which i have various HTML controls such as text boxes and buttons("OK" and "CLEAR" buttons).By default, when i press the "ENTER" key in my keyboard ,the "OK" button must get fired...But its not getting fired..I need to use the tab button …

Member Avatar for sandeep.mk
0
171
Member Avatar for sumit_indian

hello friends I am using this script in my asp .net project using c#. but unable to compile it

0
61
Member Avatar for kaushik259106

I use the following code to display the user name on the website.. like "Welcome Kaushik" [CODE] <jsp:useBean id="adminUser" class="bss.BSSUserDetailsDo" scope="session"/> <font size="4" color="brown" face="verdana"> <bean:message key="Bss.user.welcome"/> //comes from some property file abcd.property <jsp:getProperty name="adminUser" property="firstName"/> </font> [/CODE] i want to access the user first name from my JS function. …

Member Avatar for kaushik259106
0
106
Member Avatar for smourt

Hello I am a photographer who has created a java virtual tour. I would like to create a situation in which the tour itself is opened via a jumpbox but without all the address navigation etc. I am able to create this scenario using an object and a behaviour in …

Member Avatar for Fungus1487
0
71
Member Avatar for pedramphp

Does anyone knows how to work with prototype ajax class , cause I think this class has everything and there is no use of rewriting the code s !!!??

Member Avatar for pedramphp
0
80
Member Avatar for rinoa04

Hello, I have a doubt about javascript. When designing web based system, usually we used javascript to validate the form. It works fine in IE browser. However, all the validation does not work when tested on firefox browser. Why and what is the problem? How to solve it so that …

Member Avatar for MidiMagic
0
370
Member Avatar for srinivaskota

[I]Hi Experts here, Pls help.[/I] [B]when I disable the button using the code document.getElementById("mybutton").disable=true; it is disabling perfectly but when the page gets refreshed again it comes to enable position so, I need a code even when the refreshing the page also my button is in disable position.[/B] [I]Thanks and …

Member Avatar for MattEvans
0
2K
Member Avatar for 3xxx

I like the sample here http://dev.portalzine.de/index?/Horizontal_Accordion--print try to click show 1 , show 2, .... (grey / green) but I don't know how to display different content for different show --- so please help === it should be p (for 1 2 3 and 4) just have to read the …

Member Avatar for 3xxx
0
367
Member Avatar for kaushik259106

How to do this type of comparison. Say i have a variable with a word "ABCDEF" and i want to check the combination "DEF" exists in it or not how do i do? I want to make a simple comparison test.. Some friend suggested me the "substring" function but that …

Member Avatar for kaushik259106
0
167
Member Avatar for Designer_101

Hey I'm having a bit of trouble. I am currently learning php and mysql to access my servers database and collect data. In which i want to use a username and password form. However in the meen time i would like to create one using plain html and javascript. I …

Member Avatar for Designer_101
0
84
Member Avatar for MattEvans

As title; unless there's already a way: [code="HTML"] <html> <head> <script type="text/javascript"> function myfunction( ) { alert( "Hello, World!"); } </script> </head> <body> <p>Some HTML code</p> <img onclick="myfunction( );" src="some_image.gif"/> </body> </html> [/code] [code="Javascript"] <html> <head> <script type="text/javascript"> function myfunction( ) { alert( "Hello, World!"); } </script> </head> <body> <p>Some …

Member Avatar for MidiMagic
0
184
Member Avatar for 3xxx

I could not resolve that, can you [url]http://www.daniweb.com/forums/thread88719.html[/url] the 2 main program is -- index.html -- main.js OBJ: I use want to display different content when different TAG is clicked (tabs : show1 show 2 show 3 show 4 (4)) code look like (not too difficult) : <div id="content2" class="content"><div …

0
63
Member Avatar for kaushik259106

Hi friends, The code i attached is used for checking password strength!. I have a html page which calls this. Problem is if i change the following code Code: [code] if (bCheckLowerCase) { strCheck = "abcdefghijklmnopqrstuvwxyz"; if (doesContain(strPassword, strCheck) > 0) { nCombinations += strCheck.length; } } to Code: if …

Member Avatar for MidiMagic
0
70
Member Avatar for kaushik259106

In the following code i am able to change the case of my entered text with each entry of letters.. can you tell how do i dynamically display its length as well without using ajex.. [CODE]<html> <head> <script type="text/javascript"> function length(x) { var y=document.getElementById(x).value document.getElementById(x).value=y.toUpperCase() } </script> </head> <body> Enter …

Member Avatar for kaushik259106
0
119
Member Avatar for mahir78

var a = document.createElement('a'); a.appendChild(dynval); a.href='javascript:void(0)' a.onclick=bindme(dynval) td.appendChild(a) row.appendChild(td) function bindme(bval){ temp=bval return function(){ alert(temp) } } The above code is not complete.... the problem is i am generating dynamic rows inside table's tbody. and i split the rows in to client side pages where each page may display 5 …

Member Avatar for mahir78
0
106
Member Avatar for BalagurunathanS

Hi Friends. I am using javascript to display timer in my .aspx page..I also use javascript to do validations in that page.when i alert the user with a message.i.e when alert function is called,the timer stops and becomes idle.Again when i click the ok button of the message box that …

Member Avatar for ~s.o.s~
0
115
Member Avatar for chan karan

would anyone can help me to solve this problme¬¬ i have to change the password in two system at the same time, one is web system which is designed by J2EE and the other is lotus notes. i have written a vb program for changing the password in lotus notes, …

Member Avatar for shawno66
0
230
Member Avatar for amol0010

I have asked this question earlier, but could not get a reply that worked :-( I have a single login_success.php file where I have written a function IsWithinFixedGeofence(point) { ...... .... ... if ( distance <= MINIMUMDISTANCE ) { return PointsOfInterest[i]; } I want to be able to store the …

Member Avatar for amol0010
0
129
Member Avatar for newbeein

Hi Experts, I am using mozilla firefox 1.5. I want to delay the page close when the user clicks on the close (X) button of the browser. I want to display something like "Closing Please wait......" for 5 seconds (run a code in the background) and then close the window …

Member Avatar for MattEvans
0
1K
Member Avatar for achilleus

sendmail -F "notify_intab" ${notify_intab} < $mailReportfile when I use my send mail command , the data fetched are somewhat like a table, but the output are displayed in a non-readble manner. Can anyone gimme some edit options in the sendmail command to make the output look like a table with …

0
45
Member Avatar for yasserstein

hi, i've set up several javascript effects on my page, so now i need some controls to have completely loaded before the user can interact with the page. how can i control the rendering times? thanks. yasser.

Member Avatar for MidiMagic
0
113
Member Avatar for yasserstein

hello, i'm working on a news website, where some news headers and text-briefs are displayed, with a link for reading the complete story. i've made a template for this new page that will contain the full article, and i need the user to be redirected to this page to read …

Member Avatar for GreenDay2001
0
68
Member Avatar for Cookie Kumar

Im working in web designing module. My one of the html file has several template samples as well as a link like "Edit this Template". When i click this link, that corresponding template should open with the designing software such as dreamweaver, NVU etc.,( In my case im using NVU) …

0
51
Member Avatar for StrongOak

I have some java code that is pulling from SQL some data, which is filling a groupbox with Medicare ICD-9-CM billable codes. The user can click the Category, then select the codeset then the third box fills in the sub codes and description for them to make the final selection …

Member Avatar for MattEvans
0
288
Member Avatar for yasserstein

hello, i'm having many web pages built on a certain master page that has something like a menu with buttons to direct to different pages from it. now i have two questions: 1. i noticed in many websites that the master page stays put having the content pages only loaded …

0
71
Member Avatar for yasserstein

i'm building a webpage using CSS and javascript to produce special effects. i use onmouseover, onmouseout, and onclick events inside a table's cells to change their cssclasses. everything was going perfect so far, as i'm using VS 2008 BETA2, with the default browser IE 7.0 so now when i try …

Member Avatar for yasserstein
0
156
Member Avatar for tiredntroubled

Hi, I am working with coldfusion a coldfusion form. There is a drop down menu with different users, ex. user1, user2, user3. There are two list boxes. The LeftListbox contains all values. The RightListBox contains all values that have been assigned for a specific user. After selecting the user and …

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

how do i make a tabbed iframe which can change its height automatically and make height equal to the content inside it. I have never used iframe before this. i dont want scrollers. i want it to call the size of the content inside it. i have tried some scripts …

Member Avatar for Fungus1487
0
148
Member Avatar for abhammer

I am trying to protect email addresses on a web page from spammers. I found a javascript snippet from Syronex Anti Spam Solutions ([url]http://www.syronex.com/antispam/[/url]) and it has worked well in the past. Since I have upgraded Firefox to the newest version I cannot access the email from my links. Is …

Member Avatar for ~s.o.s~
0
175
Member Avatar for addicted
Member Avatar for epod@ucla.edu

I have a web site where we have a few elements that call javascript functions on the onclick. The javascript functions will do some processing and what not and eventually call a window.location to change the url. In Safari (mac only) window.location is not being processed until the current page …

Member Avatar for ~s.o.s~
0
7K
Member Avatar for BalagurunathanS

Hi all.. I need to restrict the user from entering any non numeric data in my text box present in an .aspx page.The user should able to enter only numeric values in the text box..Someone help in this regard with javascript.. Regards, Balagurunathan S

Member Avatar for MidiMagic
0
805
Member Avatar for frisiva

var inputs = document.getElementsByTagName('input'); for (var i = 0; i < inputs.length; i++) { var id =inputs.getAttribute('id') if(id.indexOf("txtLgnEmailID")!=-1) { oDDL = inputs.getAttribute('id') svalue=document.getElementById(oDDL).value; if (document.getElementById(oDDL).value=="- User EmailID -") { document.getElementById(oDDL).value="" } } } It was not working in Firfox.. Please help to soive it..

Member Avatar for MidiMagic
0
57
Member Avatar for JimN

I am teaching an elementary school this coming semester, and have created an explorer of animals and birds using javascript, and also using a flash created html code that shows a small picture of various animals and when they go onMouseOver it opens a new window with a larger picture …

Member Avatar for JimN
0
600
Member Avatar for david555

hi, my purpose of my code is to get an array of subcategory details and format it and when when mouse over some subcategory - an image will change (dynamically). this code is PHP with Javascript My problem is how can i get the variable 'key1' from the javascript funtion …

Member Avatar for digital-ether
0
274
Member Avatar for NVDuy

I have a problem with Active Users Today on my forum, that is: if a member's name has 2 words with a space or "&" sign in the middle, e.g. lucky man or lucky&man, its just appear the first word (lucky) in section Active Users Today, it doesn't appear the …

0
74
Member Avatar for finch

Hi Guys I'm a newbie in asp.net and I want to disable dropdownlist1 in my form when value "no" is selected from the <asp:ListItem> of dropdownlist2. How can I achieve that? Thanks for reply. BTW I'm using C# language. Finch

Member Avatar for finch
0
111
Member Avatar for TWilsonRipsom

I have been trying to figure out how to open documents such as Word and Excel files with functional toolbars but I am stumped. Can anyone provide some insight on this?

Member Avatar for MattEvans
0
125
Member Avatar for jeremiah sky

[COLOR="red"]I got this script from JavaScript Kit.com. The script refers to entering a userid and password to access one page. I have multiple acquaintances with each getting their own userid and password (it doesn't matter that it isn't encrypted). I am making one page that has the script on it. …

Member Avatar for stymiee
0
177
Member Avatar for BalagurunathanS

Hi all.. I am having two dropdown list boxes in my .aspx page They are ddl1 and ddl2... Now if i change the selected index of the first box (ddl1), the selected index of the second dropdownlist must automaticlly set to zeroth index..i.e index of the second dropdown list box …

Member Avatar for Nandem
0
195
Member Avatar for greeny_1984

hii everyone, i want u r help regarding progress bar for fileupload using javasccript.i am using asp.net 1.1,so using ajax is little bit confusing.so can any one give me a siple java script for progress bar.waiting for u r replies.

Member Avatar for greeny_1984
0
95
Member Avatar for donelian

1. The link below refers to a Dynamic Drive bulletin board code: [url]http://www.dynamicdrive.com/dynamicindex2/dhtmlbillboard.htm[/url] I can get the text to wprk tine, but I cannot figure out how to get the image into the code, so that the code wraps around it, as in the demo. I cannot find a place …

Member Avatar for donelian
0
86
Member Avatar for Inny

Hi folks, I came across an intresting peice of script that redirects to links in a new browser with a custom table at the top. It appears to be automatic when somebody types in a link address. I think there is some scripting hidden/missing that makes it work. Im wondering …

Member Avatar for MidiMagic
0
77
Member Avatar for workonphp

Have anybody worked on some project to create ads like in google adsense. I have created script but i m unable to call javascript file on my server. uncaught exception: Permission denied to call method XMLHttpRequest.open Line 0

Member Avatar for stymiee
0
46
Member Avatar for michael.ngobeni

Hi guys, I have a form with many text fields that are created from another program (java) <input type=text name = 'myname1'> <input type=text name = 'myname2'> <input type=text name = 'myname3'> . . . . . and I have a javascript that loops through these text fields for (var …

Member Avatar for hollystyles
0
140
Member Avatar for scitrenbaum

Here is the dilemma. I have a website where everything works perfectly in all browsers except for Safari. When you are in Safari and you go to this page... [url]http://www.3hounddesign.com/Woods_Woods/packaging.html[/url] The first time you click one of the numbered boxes at the bottom of the screen it advances to that …

Member Avatar for MidiMagic
0
63
Member Avatar for Barefootsanders

Hey everyone, I'm workin on a little side project and I was looking for some help. Currently I have code that will check a given directory and populate two list boxes based on id3 tag information. The first select box will be populated with artist info and the second, with …

Member Avatar for Barefootsanders
0
117
Member Avatar for BalagurunathanS

Hi all.. I am having controls such as dropdown,button,textbox in my aspx page .I need to enable and disable them using javascript..I am beginner in Javascript...Some one help with code in javascript as early as possible... Thanks & regards, Balaguru

Member Avatar for ~s.o.s~
0
157
Member Avatar for Arch_Bytes

I was wondering why on earth did my code suddenly start bugging when I upgraded my JAR files. I would check my JSF codes although its a JavsaScript problem when I submit the forms. heres the error: document.getElementById("contacts:notAdmins_" + i + ":contactLastName") has no properties [URL="http://www.daniweb.com/forums/"]check[/URL]()adminContactCheck... (line 25) [URL="http://www.daniweb.com/forums/"]oamSubmitForm[/URL]("contacts", "contacts:steps:_idJsp25", …

0
80

The End.