15,117 Topics

Member Avatar for
Member Avatar for swit

Hello every one, i am new here so i would appreciate any help wit this. i am trying to call a url using javascript in an html select statement as follows; echo "<select>"; for ($i = 0; $i < $pages; $i++) { ?> <option value='' onClick='javascript:window.location.href= "index.php?option=<?php echo $option; ?>&task=view&limit=<?php …

Member Avatar for swit
0
223
Member Avatar for millsy007

I have some javascript that inputs a date into a textbox upon the selection from a pop-up calendar. I need to add a function call - GetSchedule() - within this calendar javascript code. My function will use the date that has been assigned to the text box so will need …

Member Avatar for david_a_smith
0
81
Member Avatar for swit

Hello every one, am called swit and i am new here. i luv programming and i luv this site.

0
58
Member Avatar for janakavishwajit

Hi alll............. Please can someone help me to find a way to call for a c# function from a javascript which is in the web page of web browser included in a windows application....... Urgently need....... Please............!!!!!!!!!

Member Avatar for janakavishwajit
-1
88
Member Avatar for jdbax

How would this be written on .js file. I need to create a variable named dateString which is equal to the following text string: weekday, month, day, year. where weekday is the name of the weekday, month is the name of the month, day is the day of the month, …

Member Avatar for sillyboy
0
51
Member Avatar for pcristov

hello, i have an online store and sometimes i have to close it for maintenance. when i close the store the visitors are redirected to a store_closed page where they read that the store "is temporarily closed for maintenance." i'm looking for a way to automatically redirect the visitors back …

Member Avatar for hielo
0
69
Member Avatar for chinni1

Hi I want to make different style of alert box on my code So help me how to make user choice alert box. Thanq

Member Avatar for almostbob
0
59
Member Avatar for oskido2010

Hi, Does anyone have a better idea of the ajax based login code, the one that does error checking etc, and also the member registration authentication. so far i have got an idea of the following!!! [code]function doLoginAction() { $filter = new Zend_Filter_Input($_POST); if (!($login = $filter->testAlnum('login'))) { echo "Login …

Member Avatar for mschroeder
0
87
Member Avatar for eawade

Hey Guys, I am frustrated with this matter and therefore need some help. I will try to keep this as simple as possible. I really need some help performing something that should be relatively simple in Javascript. I have a form which contains FOUR text fields (e.g. TEXTFIELD1, TEXTFIELD2, TEXTFIELD3 …

Member Avatar for essential
0
240
Member Avatar for kalpana0611

Hi, I managed to get the following script to work [code=html] <html> <head> <title>Adding and Removing Text Boxes Dynamically</title> <script type = "text/javascript"> var intTextBox=0; //FUNCTION TO ADD TEXT BOX ELEMENT function addElement() { intTextBox = intTextBox + 1; var contentID = document.getElementById('content'); var newTBDiv = document.createElement('div'); newTBDiv.setAttribute('id','strText'+intTextBox); newTBDiv.innerHTML = …

Member Avatar for kanaku
0
91
Member Avatar for marjan_m

Hi, I need to get a table in javascript n i wrote this code: [CODE] //mainMenu is the table name var x = document.getElementById("mainMenu") //then i need to get it's left margin so i wrote var x = document.getElementById("mainMenu").style.marginLeft; [/CODE] But it is giving error that x is null. Can …

Member Avatar for marjan_m
0
161
Member Avatar for arvindikchari

Hello I want that on the page visible to user, there is a text box, User can specify full path to an image in this text box, and once user clicks on apply button. then this image is set as the background image for a div How should this be …

Member Avatar for essential
0
142
Member Avatar for vasunttfshimoga
Member Avatar for sillyboy
0
65
Member Avatar for dmanw100

Hello! I'm just learning JavaScript and I was wondering if clients can view external JavaScript files? I would like to (potentially) use JavaScript to validate passwords to log into my site. Would this work/ is there a better way?

Member Avatar for almostbob
0
143
Member Avatar for ina_rizoaica

Hi, I have this form: [url]http://www.donorsforum.ro/forma_din_anunturi_ro.php[/url]. In the span field that looks like a textarea (Corp anunt) I can write in both IE and Firefox, but I can paste some text only in IE, in Firefox the box is just multiplying and remains empty. How can I fix this? I …

Member Avatar for katarey
0
172
Member Avatar for Ortal

I have this code, I know it has ASP in it but the ASP isnt giving me the hard time, the javascript is (I think...). Right now users can use this drop down menu to get to a certain page, but instead i need to have them type in a …

Member Avatar for essential
0
89
Member Avatar for jeffreyjs

Hi, I have this website which uses javascript to compute some mathematics... However, the script appear not to be working on firefox whereas the I.E and safari are working well, can someone help me with this, does Firefox have problems executing javascript? Thanks... the below code is where the problem …

Member Avatar for gurshan
0
234
Member Avatar for owkaye

I have a site under development that's going to use a JS-based drop down menu which will open when the visitor hovers over a single element called "menu" at the top of each page. Naturally the folks who have JS disabled are not going to be able to use this …

Member Avatar for almostbob
0
142
Member Avatar for romi123

Hi, I have got an arraylist with Profile objects where each profile object has a HashSet of Customers and each Customer in Hashset has further a HashSEt of movies. I have got it in JSP page through servlet like [code]<% ArrayList profiles = (ArrayList)request.getAttribute("profiles"); %>[/code] now i want to access …

Member Avatar for stephen84s
0
58
Member Avatar for tkoehn5751

I am trying to insert numbers from a form into two different URLs, and then launch both with a single click. My problem is getting the numbers to insert correctly. Below is what I have attempted. [COLOR="Red"]+'document.myurl.book.value'[/COLOR] Can anyone help me with this? [url]http://www.biblegateway.com/passage/?book_id=[/url][COLOR="Red"]2[/COLOR]&chapter=[COLOR="Green"]7[/COLOR]&version=9 _____________________________________________________ [code]<form name="myurl"> <input type="text" name="[COLOR="Red"]book[/COLOR]" …

Member Avatar for essential
0
74
Member Avatar for gagan22

Hi everyone, I have three drop down menu naming client,project and activity. But I want that when i select item in first drop down menu clent then only that project should come whichever comes under that client category and after selecting client and project , i want there should be …

Member Avatar for almostbob
0
83
Member Avatar for veledrom

Hi, When the mouse is over the small image in a table cell, the large image appears in other cell. Code below works fine in IE but not in other browsers. How can solve this issue? Thanks [code] <html> <head> <script language="javascript"> function changeBgImage(whichCell) { if (whichCell=="small_1") { document.getElementById("large").background="1l.gif"; } …

Member Avatar for veledrom
0
79
Member Avatar for nawabsheriff

[code=html]<html> <head> <script type="text/javascript"> function validate_required(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false;} else {return true} } }function validate_form(thisform) { with (thisform) { if (validate_required(email,"Email must be filled out!")==false) { email.focus(); return false; if (validate_required(city,"city fill it")==false) { city.focus(); return false; } } } } </script> </head><body> <form action="9.php" …

Member Avatar for aravelli
0
91
Member Avatar for millsy007

I have the code to show predictive text when a user enters a value, However I am struggling to change its behaviour. Currently it shows the suggestions seperately, I would like to alter it so its shows the value in the search box and then the user can select a …

Member Avatar for DangerDev
0
92
Member Avatar for gagan22

Hi everyone, I have written some code in which i am taking some input like this date from and date to field. But this calender is open into IE and i am unable to open it in Firefox. I am using code like this------------- [code=html]<tr id="companyname"> <td style="display: none;"></td> <td …

0
51
Member Avatar for eo868745

Hello, I'm having a bit of trouble here. I want to have two input boxes for entering numbers, a select box, and a button - "Compute". The select box contains options for "add", "subtract", "multiply" and "divide". When the "Compute" button is pressed, I want it to compute the arithmetic …

Member Avatar for ~s.o.s~
0
268
Member Avatar for rajeesh_rsn

Hi i had a big image in my web page. I need to do a preload in that image. Actually I am new to javascript. I tried many scripts but didnt work.. Please guide me ... Thanks Rajeesh

Member Avatar for almostbob
0
86
Member Avatar for visionsshift

time is of the essance, and i've been searching all day for a way to make a roll over button drop down menu. i'm using a table (for now), as my hunt for decent roll over button codes kept coming up with software marketing sites, or complicated script. i came …

Member Avatar for almostbob
0
139
Member Avatar for esedic

[B]Hi! I'm a complete newbie and I need some help. I have this piece of code which is opening link in new window: [CODE]<script type="text/javascript">//<![CDATA[ document.write('<a href="javascript:void window.open('<?php echo $product_flypage ?>');">'); document.write( '<?php echo ps_product::image_tag( $product_thumb_image, 'class="browseProductImage" target="_self" border="0" title="'.$product_name.'" alt="'.$product_name .'"' ) ?></a>' ); //]]> </script>[/CODE] How to change …

Member Avatar for phper
0
101
Member Avatar for windsdon

I am working on a java project and I need to add cookie in the browser to register a record of points of the person and turns it into a variable "a". I have everything working ... just missing it! the project is a play test of reflex and just …

Member Avatar for essential
0
77

The End.