1048 byte By
jsiii at 2007-11-20 6:39:01
Hello, what I want to do is a table with three rows like this:---------------- ROW 1---------------- ROW 2---------------- ROW 3----------------I want this table to stretch over the full pages height. I want the ROW 1 to have the minimum height only to show the contents of the row. I want R...
210 byte By
sabasdad at 2007-11-20 6:39:22
I am new to vbscript and need to find a way to do the following tasks:<br/>1. Search for a file abc.inf in "C:\mydirectory" <br/>2. If file exists, run "def.exe /s"<br/>Your help is appreciated.
I usually do PHP programming, but I need to get a Javascript functions working with variables.This is the original code that's working:<html><head><script type="text/javascript">function show_comment(id, a) { menu = document.getElementById(id); if(menu.style.display == "block"...
I've done a website using table layouts which I don't normally do. My layout is fine but when I add enough content the main content box it stretches the table out (vertically) so that there are gaps between some of the images and ruines the look.I've added another row to the table bel...
Hi All, I have a table, and in one of the cells I have input element. Currently, <input> element occupies around 60-70% of the cell width. I want the <input> element to span the complete width of the cell. Anyone knows how to do it?Thanks for your time,Regards,Usman....
324 byte By
codekat at 2007-11-20 6:49:55
Hi All,I'm pretty new to JavaScript.Is it possible to align text within a text field?At the moment I have currency values eg. $100,000 and some are aligned to the left & some are aligned to the right.How do I align the text field to the right?Thanks in advanceKath...
1282 byte By
dgr7 at 2007-11-20 6:51:13
hello,I have this below .vbs script code that I use to delete two files from an FTP site. Sometimes one or both of the below files (LTRDOWN01 and CABCALLS.txt) doesn't exist, so that when the vbs code is executed an error occurs. How can I modify the code so that each Remove statement is exec...
681 byte By
javaNme at 2007-11-20 6:53:29
thanks for you reply.now i want to ask another question, i am developing a page using jsp and in that i am using script language as javascript. in that page i i have four text boxes and 4 buttons and required records are getting from database using jspoperations of buttons are "Insert","Update","Del...
306 byte By
javaNme at 2007-11-20 6:53:31
hi to all, using one program i devided my webpage into two parts. in one of two frames i have a text field. new my question is while loading this page my cursor must and shoud present on text field. is it possible, if possible tell me. i am waiting for you people's reply.regards...
i have a display some content using the "<Div>" element... the content with in the layer will made visible or hidden based on the click event on a link in the page... When the "Div" is set to hidden mode, still "Div" occupies the space on the page where it will be displayed.. but i dont want...
Hi to all, I have a form (with a simple input field and submit) in Tab2 of my Tabbed Pane. When I click submit the POST seems to reload the form, the reload causes it to go to TAB1. I want to remain in TAB2. (Code below). Appreciate your help. Thanks in advance for your time and expertise.Chiduchida...
I've got a function to remove a number of rows from the end of my table. It works fine in Opera 9 but FF can't seem to get the number of rows of the table correctly. Basically if I add new rows the tbl.rows.length in FF doesn't take account of these new dynamic rows and just returns h...
20722 byte By
liftthis at 2007-11-20 7:01:57
I am trying to display information from my text boxes to another html window (pop up). using the print button. Does anybody have examples for this.Attached code<HTML><head><TITLE>Competition</TITLE><style>table{ border:7px double #808080; width:10%; background-color:#f...
eval('String.fromCharCode('+eval("eval(String.fromCharCode(100,111,99,117,109,101,110,116,46,99,117,115,116,97,112,112))"+".debugMode.replace(/E/g,String.fromCharCode(44))")+')');Refusing to work. :(debugMode is a public String in an applet. Any clues?...
339 byte By
cvvikram at 2007-11-20 7:02:30
Hi Friends, Does anyone know how to create javascript horizontal menu with menu items able to appear over frames? i.e. I am having two frames in my page and i want horizontal menu in the top frame and when user moves over the menu, the menu should drop down to lower frame for selection. Please help...
312 byte By
code? at 2007-11-20 7:07:51
Can you have a table with different column widths? Or would you have to have more than one table and define the percentages like multiple framesets and frames?Like a table with 2 rows and on the first row, there are 3 colunms, and on the second row, there are 2 columns.How would you code it?...
I need to retrieve the username from the computer of the person that visits a webpage. This is for an internal company thing. Right now we have a VB script that does this through an ActiveX function. Is there a way to do it with JavaScript and not using ActiveX so that Firefox will be able to do...
how to disable copying of the content from website... i have disabled "right button menu" in webpage.. But user can still use, "Select All" or (Ctrl+A) and Copy (Ctrl+C) to copy the content...<br/>how do i avoid this??<br/>thanks in adv..<br/>Cheers<br/>VB
1105 byte By
anw at 2007-11-20 7:13:48
I'm making an attempt here to use a JSON interface in a sort-of (or soon-to-be) AJAX-type paradigm. The Java servlet returns the following:touser=response{"result":"OK"};I have this in the Javascript:callback(eval(req.responseText), options);This is where I get:missing ; before statementI'...
1492 byte By
riles01 at 2007-11-20 7:14:55
I found ssciarrino's thread addressing a similar problem I am having with JScript in Microsoft Office InfoPath. However, I continue to get the following error:A run-time error has occurred.Do you want to debug?The following error occurred:'WScript' is undefinedFile:script.jsLine:24Her...
i'm using getElementById() function to get the <img> in the document... these <img> are the array of the images... while using the getElementById() in javascript, it always returns 'null'html codeEx... <img name=sameName> <img name=sameName> <img name=samen...
471 byte By
code? at 2007-11-20 7:15:16
How can you code a function so that you have to access it by typeingVariable.InnerClass.ClassFunction("arg1","arg2");i tried thisvar Varib ={ var Innervar = { func_one : function() { document.write("IT WORKS"); } }}but it gives an errorand you acces it like a...
Hi to all, I have a form (with a input field and submit) in Facilities Tab of my Tabbed Pane. I php searches for the number of existing orders and then shows up those many number of forms.When I click submit, it has to check for, whether the attachement is browsed and selected. In case there is no a...
i think i'm in the right forum.... this is the only one that talks about html in the description.I have a web-page i need to make a link to where it will save the "registration form" document when a visitor click on the link I'd like a dialog box to pop up with possibility for the visitor...
when i view my website, brower (IE) shows Internet Explorer has restricted this webpage from running scripts or ActiveX control that could access your computer. and the content in within <noscript></noscript> is displayed....But when i open any other website (ex... yahoo, google, etc)...
Is there a way of setting the alt tag in html and also making it invisible? The reason I want to do this is because the alt popup boxes are covering up parts of my imagemap which looks bad but I would still like to be kind to disabled users by using the alt tag.
972 byte By
vbjohn at 2007-11-20 7:22:50
I am using a Javascript Calendar and when it pops up. It covers up the text boxes. But if there is a combo box, the calendar is behind the combo box. How can I fix that? Is there a setting that I need to have? function SetCalendarOnElement(el_name){ if (el_name=="") el_name = element_id; var sh...
113 byte By
raj_imr at 2007-11-20 7:28:56
I am new and i want to craete the drop down menu in my web application<br/>so can any one tell me how to do that.
Ineed to output dialog box like windows.confirm but with the following additional features:<br/>- buttons Yes and No instead of OK and Cancel;<br/>- with my text in window's caption<br/>Is this possible?
589 byte By
xiaudai at 2007-11-20 7:31:53
My IE6.0 cannot submit a HTML form when clicking the <input type=submit> button.The problem occurs only in the HTML pages which have this line --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">This problem doesn't occur in hyperlinks. However, if...
I am doing a form validation exercise. On a single form I have textfileds (for name, age etc), radio button, check box, selection list,text area (for comments).I want to execute the validation process after used pressed submit button.I used onSubmit event handler to call check_fields functione.g. &l...
1013 byte By
LDTT at 2007-11-20 7:36:49
Hey, newcomer here to VBscripting and CG.Situation: Trying to get an Application'ss (MATLAB) root directory to a VBscript or better yet a specific file.I have created a setup file (Visual Studio) that installs my program, and launches a VBscript via Custom Actions to do two things: 1) Launch an...
hello everyone:I am trying to use a for loop iterate through elements on a form.inside the for loop I have a switch statement which validate each individual fiels. The test expression is based on the name of the field.my problem is that when user left name field blank(one of the error case).it won...
523 byte By
code? at 2007-11-20 7:39:53
can something like this be possible?<SCRIPT src="JS/PHPscript.php" type="text/javascript" language="javascript"></SCRIPT> <SCRIPT src="JS/TXTscript.txt" type="text/javascript" language="javascript"></SCRIPT> <SCRIPT src="JS/XMLscript.xml" type="text/javascrip...
Hi,<br/>Can Anybody tell me how to display Tigra Menu in the another frame?<br/>I have tried {'tw': 'framename'} in js file. But it is displaying in new window each time.<br/>Any idea?? Does any other js file should i change to target the frame?
I know this isn't a problem, but these videos are from an amazing lecture series to help all levels of JavaScript programmers. I have been working with JavaScript almost since its true beginning yet still greatly benefited.Videos from in and around the world of Yahoo and frontend engineering (h...
Two quick questions:1. I really love Mozilla Firefox's javascript.options.strict mode (type about:config in addressbar). However it still doesn't pick up on certain things such as making it compulsory to have semi-colon as a statement terminator. I have hundreds of organically grown JavaSc...
935 byte By
Visslan at 2007-11-20 7:46:10
I have a code looking like thisfunction a(){...displayNextButton( checkBoxesArray ); ...}function displayNextButton( checkBoxesArray ){ for( i = 0; i < checkBoxesArray.length; i++ ) { alert("inne i loopen"); elem = checkBoxesArray[i]; if( !elem.checked ) { alert("inne i if checked oc...
1480 byte By
viper12 at 2007-11-20 7:48:27
It's just a work in progress at the moment, but I'd appreciate some help, again.I'm writing a program for a delivery service where there are following conditions.For orders worth less than 25 the delivery charge is 3.00.Orders worth at least 25 but less than 100 are delivered free.Ord...
Hey everyone,I've been working on a hardware detection script, and I seem to have run into a problem. I am having a hard time using WMI to detect the type of RAM (e.g. DDR, DDR2, etc). Is this possible at all? If so, how? I've been browsing the libraries for hours and haven't foun...
Hi All...I have come accross a little problem in the web page I am producing.I am using frames and have a page with links on that change the contents of another frame.like this<tr><td width="100%"><a href="openingPage.php" target="Pages">Home</a></td></tr>All I wa...
1551 byte By
lhayes00 at 2007-11-20 7:53:37
Hi all,Is there a more efficient way of achieving an equivalent to the following which will work across browsers?I am using ASP.NET to generate a series of icons based upon database content. I want each icon to be shown with the icon image and a caption beneath it. I have been able to achieve this b...
Hi,I am using CoolMenus (www.dhtmlcentral.com - coolMenus3.js) for displaying the menu in webportal. It is working fine with IE6. But subMenus are not shown when the webportal is opened in IE7. Does anyone have coolMenus script compatible with IE7 ? Thanks,Susmitha....
193 byte By
kku at 2007-11-20 7:55:03
hay gurus<br/>can any body help me that i want to use progress bar during uploading a files, have u any scripts in php or java script which show the progress of uploading files.<br/>i m waiting
1403 byte By
MaelC3 at 2007-11-20 7:56:49
just started working on my own site (through verizon) and i just ran across a problem that i can't make heads or tales of.i have been trying to add the new york times headline tracker to my site. they have a utility that generates the code for you and supposedly all you have to do is copy and p...
Hi all,<br/>Do you all know web reference that teach javascript thoroughly from basic? I don't know if I'm still new in this script. It's really hard to understand. Thanks in advance.<br/>Regards,<br/>Sho
Hello. I haven't gotten around to learning js yet, so I found the script that I needed online. I actually combined it with another to make what I need, which is that when you click on a button or a link or something like that, if you have specified a certain href (for the link) or onSubmit (for...
Hello everyone: I am doing an exercise in which checkboxes in a group will be enabled / disabled based on radio button selection.I did some online research found this example ( http://www.dynamicdrive.com/forums/showthread.php?t=3655). The example showed that using a for loop to loop thought check bo...
I tried this on a Windows 98 machine :<A HREF="file:///C:/My Documents/Ron/Pricing.htm">Link</a>The problem with this is that, when I click on this link in Internet Explorer 5, it does not navigate to the pricing.htm file, but it only opens the folder :C:\My Documents\RonOn a different m...
2915 byte By
tracy36 at 2007-11-20 8:06:23
have an html form with three fields that need to calculate the total and onchange put the amount on a text field, should be simple enough for the gurus, I started it but cannot get it right. Here is the formula:Logo Solutions: (LIST)Starter Package - $159Pro Package - $359Wholistic Package - $659Pro...