15,121 Topics

Member Avatar for
Member Avatar for hongchai

hi everybody, i encounter a problem regarding PHP when i am doing my internship. i have a javascript which looks like this. <Script Language = "JavaScript"> function sent() { var text1, fTxt,dT; text1 = document.form1.EPTextField.value; dT = new Date(); fTxt =("You entered" + ": " + text1 + " " …

Member Avatar for umandajayo
0
228
Member Avatar for jt86442

[B] Hi, I have a problem in the below requirement. Marital Status (Select-one) SpouseName ( Textbox ) (Single) (Married) Whenever i choose an option [U]married[/U] only then spouseName is activated( Mouse Cursor is enabled) other wise in rest of the cases it should be in [U]read-only[/U] property. Please help me …

Member Avatar for jt86442
0
80
Member Avatar for nsrivi

Hi, I have a task to convert HTML files to PDF files and i have no clue how to start. Can anyone advice as to how to go about doing this conversion from HTML to PDF? Thanks in advance, Regards, nsrivi

Member Avatar for madz015
0
170
Member Avatar for brinegart

I want to focus back on the main page from an iFrame that is loaded as an element on the page. I am trying to make a toggle focus using CTRL to go between the two. I am using javascript to navigate the iFrame to different pages. Once the iFrame …

Member Avatar for Lusiphur
0
132
Member Avatar for dalip_007

hey guys i have seen in twitter that, tweets appears without the refresh of page, i want same kind if script or functionality. any idea or related tutorial? Thanks in advance.

Member Avatar for dalip_007
0
76
Member Avatar for Simonwhite80

Hi All hope you can help its been driving me crazy .. i have a website where i change the content of a div using jquery, however i also want to change the background image at the same time but cant seem to get both to work together, not sure …

Member Avatar for fxm
0
987
Member Avatar for prakashsd

Hi there, I have put together an accordion menu using css, html (ul, li tags) and javascript. I'd like the arrows on the collapsible menus should change state depending on if they're open or not. The triangle turner should point right when the content is closed and can be opened. …

Member Avatar for fxm
0
136
Member Avatar for amjones

We are offering a coupon for a free soft drink to everyone who fills out our survey. When the user hits the Submit button at the end of the survey, a page appears with the coupon and a Print button. Currently, the whole page prints, including headings and links. I …

Member Avatar for fxm
0
248
Member Avatar for rukshilag

Hi so i have a search box of a student database. and when searched the results are displayed in a tabular form. i first used window.print to just print out the search results div if the users want some sort of a report. but when using window.print the css is …

Member Avatar for NGOBOLA
0
106
Member Avatar for kidanr

Hi, I have an issue that I think you could help me with. I would like to make so that when I select something in my select box (my main category) a sub category for that will appear based on my selection in the main category. I assume you would …

Member Avatar for kidanr
0
176
Member Avatar for Towlie

Hi guys, Any help with the following will be greatly appreciated. I get this error :"document.getElementById("buttons" + questionNum) is null" with the following code: [code=javascript] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <script type="text/javascript"> var questionNum = 1; function addQuestion() { var …

Member Avatar for Taywin
0
243
Member Avatar for gurpreet_ka

Hi all, i have a link that opens .doc files, .docx files, csv files or .xls or .xlsx files. i want silent printing of these files. Only one file opens at a time. If silent printing is not possible then atleast print dialog box should open up along with the …

Member Avatar for fxm
0
177
Member Avatar for dinkado

The code works perfect in IE but I can't get it to work in Firefox. Is there a work around for firefox? Your time and help are greatly appreciated. dinkado

Member Avatar for fxm
0
255
Member Avatar for misia2010

Do you guys know of any way to create a presentation on a website WITHOUT showing load bars? Background info: it is about photography website where someone after seeing full size picture could click to view it in a room setting. Right now my developer created a presentation where full …

Member Avatar for scrappedcola
0
107
Member Avatar for gazzy1

The task is very simple; you have to work on two functions Encrypt and Decrypt. The encrypt function will encrypt the user input string with the help of encryption key. The decrypt function will decrypt the user input string with the help of encryption key. The output will Hints: Encoding: …

Member Avatar for rajarajan2017
-1
216
Member Avatar for whiteyoh

Evening all, Please could somebody take a look at the following form. Im calling [code]<?php if (isset($_POST['submit])){echo "clicked";}[/code] but its not registering. The only difference is that this is the first time ive used the "image" type. any help would be appreciated [code] <form method="POST"> <table width="468" border="0" cellspacing="0" cellpadding="0"> …

Member Avatar for rajarajan2017
0
109
Member Avatar for k2k

trying to call an external ajax function to exec the php script to update a table. it is somehow not working.. it is my first time programming in ajax, please point it out if there is anything obviously wrong. thanks. [code] <html> <head> <script>myAjaxFunctions.js</script> </head> <body> <button type="button" onclick="clearT1();">Clear TableOne</button> …

Member Avatar for Graphix
0
461
Member Avatar for upstream

Hey guys, I was working on embedding image using the object tag with quicktime. i was succesfully embed it [COLOR="Red"]but it seems like i cannot display the playback controls (like "play","pause","stop" etc)[/COLOR]. Here's my code: [CODE] <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="478" height="383"> <param name="src" value="movie.mov" /> <param name="autoplay" value="false" /> <param …

Member Avatar for upstream
0
114
Member Avatar for jlhwebgal

Hello, I am using this script to rotate background images and it is working great HOWEVER we would like to control the order of the rotation and I am just not sure how to modify this code to do that? I have looked and tried several options but I am …

Member Avatar for fxm
0
138
Member Avatar for akbar36

how to call get set properties present in class.cs file to javascript ? how to call a class which is in App_code through javascript ?

Member Avatar for kvprajapati
-1
65
Member Avatar for MDanz

I am passing data from a textarea to a div with javascript. The problem is the div is ignoring line breaks. [code] document.getElementById('layer1').innerHTML = document.getElementById('reply').value.replace("\n", "<br /><br />"); [/code] e.g... i entered this in the textarea test1 test5 test6 the result was in the div test1 test5 test6 the div …

Member Avatar for fxm
0
106
Member Avatar for shadiadiph

Still trying to get my head around some simple javascript issues the following works in php but not in javascript can someone point me in the right direction obviously my code is wrong. [code] if((dobyear==false) && (dobmonth==false) && (dobday==true)) { return 'noyearmonth'; } [/code] thanks

Member Avatar for fxm
0
134
Member Avatar for mikeandike22

Hello I am writing a script that will replace the src of an image when the user hovers over it. I am using jquery and regex to accomplish this and have tested it on my local server but the src of the images on the live server is different and …

Member Avatar for fxm
0
112
Member Avatar for jb00786

The JS starts with: <script> var tblId = 'TBGenericRecs0'; var nTable = ""; then later: function mapTable(){ nTable = document.getElementById(tblId); nRows = nTable.rows.length; Firefox says nTable is not a function and the code does not work. IE sees it as a variable and it works. What's up? Is there a …

Member Avatar for jb00786
0
189
Member Avatar for azegurb

hi all, i have one question about variable in JavaScript [CODE]<HEAD> <TITLE>Window Opener and Closer</TITLE> <SCRIPT LANGUAGE="JavaScript"> var newWindow function makeNewWindow() { newWindow = window.open("","","HEIGHT=300,WIDTH=300") } function closeNewWindow() { if (newWindow) { newWindow.close() newWindow = null } } </SCRIPT> </HEAD> <BODY> <FORM> <INPUT TYPE="button" VALUE="Create New Window" onClick="makeNewWindow()"> <INPUT TYPE="button" …

Member Avatar for azegurb
0
116
Member Avatar for ksmadhuri

hi, i had done validation in my program...it is validating and entering the values also...the problem is if i m giving the same value which is in XML file...it is taking not showing any error...can any one check my code and suggest me the solution..2day evening is submission of my …

Member Avatar for fxm
0
78
Member Avatar for iThaos

Hi, I have pretty just started javascript and I have to say it is the hardest language to learn probably due to the lack of official documentation or something like that. If someone can point me in the right direction for documentation, that'll be great. On the other hand, php …

Member Avatar for iThaos
0
164
Member Avatar for chaituu

In the main table there are two sub tables are there.when user click addRow button main row and also subrow should be created.i have written the code but when i click addrow alignment is missing and apart from that mainrow and subrow is not displaying properly. [CODE] <html> <head> <script> …

Member Avatar for azegurb
0
108
Member Avatar for jt86442

[B] Hi, Actually my requirement is when i move my mouse on the link, One alert box shoulb be appear and it will count how many times i move on that link. I already written the code in javascript but it didn't reach to my requirement. Please go through the …

Member Avatar for rajarajan2017
0
2K
Member Avatar for s2xi

Hi guys, I have a table that outputs all my contacts via a while loop from my database. my syntax is like this: [CODE]SELECT * FROM contacts WHERE id = $_SESSION['user_id'] ORDER BY name ASC LIMIT 5[/CODE] that pulls out all my data and only gives me 5 results. Now …

Member Avatar for s2xi
0
573

The End.