17,115 Topics
![]() | |
is it possible to alert session variable.is the syntax is correct... [CODE=php]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function login() { alert($_SESSION["un"]); } --> </SCRIPT> </head> <body bgcolor="#f1f3f3"> <form> <?php print "<input type='submit' value='submit' onClick='javascript:login();'>"; ?> </form> </body> </html>[/CODE] | |
I'm a graphic designer with very little HTML knowledge who has inherited the maintenance of non-profit agency's website. They have javascript drop-down menus as the part of their main navigation. Up until now, I've only had to change the text or change the size of the menus. But now, they've … | |
Hi, I am trying to make a table that has following columns: site id,txn id,txn name,target id,target db there can be any number of rows in the table and each row has at least one different column entry with respect to other rows.Now i wish to delete from database data … | |
Okay, this page wrecks IE6 / 7. Please view the pages in question at [URL="http://www.listenlight.net"]http://www.listenlight.net[/URL] Also, is there a way for linux users to check page development for IE over the Web? [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>◦ Letitia Trent ◦</title> <meta http-equiv="Content-Type" … | |
Hi i have been searching around the net, but have not have any luck(most probably i m searching for the wrong thing). I am able to get json data from my database, i now want to populate the text fields in my form how do i go about doing it? | |
I have some problems with javasript functioning in firefox... something very basic as open window browser??????????????????? | |
HI all , I have a question about Ajax. FIRST : Can I call ID from the other files who contain J.S. code with ID ? SECOND : I have Index.html , prototype-1.6.0.2.js , and I want to make changes from files2.html to files3.html . Can I do that ,and … | |
HI, I am using a skmmenu. How I can open a new .aspx form when clicking on one menu item from client machine? I am using Menu1.Attributes.Add("OnMenuItemClick", "OpenHelp();") and in javascript function OpenHelp() { window.open("help.aspx",null,"height=750,width=850,menubar=yes,toolbar=yes,location=no,resizable=no,titlebar=no,title=EEECalculator"); } But this is not working And please tell me hoe I can close a … | |
We all know that what effects work for IE will not always work or act the same in Firefox. Is there anyway to check which do and dont work? Anyway to get them both to work? For example. I noticed a href attributes defined with CSS, mouseover and mousein defined … | |
Hello, can anybody help me in getting this code running also in firefox and safari. The goal is to display images scrolling from right to left on my screen ... Here is the code I use : <script language="JavaScript1.2"> //Specify the slider's width (in pixels) var sliderwidth=840 //Specify the slider's … | |
i hv problem which: i have 2 radio button with value 'yes' and 'no' and one textbox, my question is : default the texbox is disabled and when user choose radio button "yes" the texbox become enabled... anyone can help me? thanks | |
Hi, i have a simple idea about[COLOR="red"] "Css on Different resolution"[/COLOR], See Example Below:- [code=html]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Css on Different resolution</title> <script type="text/javascript"> if(screen.width==1024) { document.write("<link rel='stylesheet' type='text/css' href='style_1024.css' />"); // this css runs in only 1024 resulation } else { document.write("<link rel='stylesheet' type='text/css' href='style_other.css' … | |
I have a program that suppose to print out a student information so I have to use Alert in order to make this a success but my JAVA SCRIPT is not producing anything, I dont know what Im missing in my code please have a look at it.... its quite … | |
I am new to Dreamweaver, and stumped. Though I can do it easily with frames I cant get CSS to allow user to click on one of several thumbnails in a left column and show larger image of the clicked thumb in the main area of the SAME page. Is … | |
I want to us a simple HTML drop down lists (<select name="menu"....) as a quick jump between a couple of different html pages. I was able to come up with the script to have the pages jump to the URLs. However, I was hoping to have the current page dynmically … | |
Hello i created this and i dont know how to debug it because when ever i create a script the part i hate is teh debuging so can some one please help me out and thank you very much --> [code=javascript] <HTML> <HEAD> <TITLE>JSP Debugging</TITLE> </HEAD> <BODY> <% import java.io.*; … | |
Hi, I have a html page .. that opens a flash page .. after selecting the data in the flash .. flash is calling a javascript where i am using the document.forms.action and document.addType.submit().now the data comes in Xml format .. where i parse the xml using the file_get_contents.problem is … | |
hi i have developed a project in plain asp. its working smoothly on other OS. but when i am ruining it on mac. Javascript validations are giving problem. Like the textbox validation script. plz help me. Thanks in advance. | |
hi i have a application where the user can post resume for 'N' no of job orders when the user clicks apply it should get his username & pss.Next time when he is applying for another job order it should not ask him the uss &pss ...........i tried the below … | |
Hello Everyone, I have a "small" problem with java. :-) I made a Php - Javascipt for displaying the status of my servers. The Xml response and the php scipt are working fine. But the Javascipt doesn't do what i want it to do. I Have 2 Divs in my … | |
Hello friends, i've a "editAccount.jsp" page wherein i accept various details from users. And then check their input (Eg. Email field should not be blank)through a function in javascript. But my JSP does not check the input and directly stores the values in database(even if email field is empty) I … | |
Hi, I have a problem with my implementation of Drag and Drop lists. Particulary I have 3 scrollable divs, which represent lists. The divs contain "LI s" which represent particular units. Code (ddHeader.php5) Header: [CODE] <!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" xml:lang="cs" lang="cs"> <head> <meta http-equiv="Content-Type" … | |
Hi, all! I came across a very strange problem when I used the sample code from the msdn artcile abot ScriptReference class. I'm building my projects with VS Team System 2008 and the OS is Windows Server 2008 Datacenter x64. The solution I created is as follows: - The web … | |
Greetings, When you *initially* load LogicWeb's home page, [url]www.logicweb.com[/url] it hesitates for about 1-2 seconds on loading the ajax tabs up top (you can't miss it, right below main navigation bar). I am trying to figure out why this happens, but I just cannot seem to grasp the cause. I … | |
I'm trying to run a SOAP response from a web service through an xslt translation and place it in a web page via an Ajax call. The web service and javascript all works fine. I am having a problem accessing specific nodes inside the xslt file. Specifically: when I run … | |
Hello, I have been trying to develope an online registration system but i can get the right syntax to use in the developement here are the specifications We have the following types of visits • Admission • Control/Entry/ Visit2/ visit3(routine1)/ visit4(routine2)/ annual • Acute(unscheduled visit) On register response page, we … | |
Hello, I am trying to understand html's <label> attribute. According to [URL="http://www.w3.org/TR/html4/interact/forms.html#h-17.9"]http://www.w3.org/TR/html4/interact/forms.html#h-17.9[/URL] when I am using a single label for multiple elements I should use the following format: label for = idref [CS]. From what I understand [CS] represents names of the elements that I am labeling. But what is … | |
how to use javascript alert in [U]C# web forms[/U]? im using this: [CODE]Button.attributes.Add("onClick","javascript:alert('data saved successfully')");[/CODE] but its not working. i searched for it on internet but im getting tutorials etc for windows forms. | |
[B]please help me i have just started of your boost will makes me more perfect [/B] below i have attached my index.html and css.css file i had to desicn only using <div> tags so pleas help me in IE it some what works properly but in FF anf safari bit … | |
Okay, so I'm trying to write a code to a template that can reference a font stored on a server. This needs to be done without installing it on the user's system. Any ideas? ///rEI | |
I want to use this code to display a blank page When someone clicks 'veiw source' from either the context menu or toolbar. (if they switch off javascript they are simply redirected, I use another code) I dont want extra pages popping up, Just the blank page, possibley I could … | |
hi i have a html page when the user clicks a button in the parent window a popup window will be opened which will contain the login page.if the user is a valid user then i want the parent window to get refreshed so that i can show him the … | |
I am new to javascript and have made a simple form accepting details of login on a web page. I fail to understand how the following code handles the error when written between script tags: [code] function errorhandler(errormessage,url,line) { alert("Error :"+errormessage); alert("url :" +url); alert("line :"+line); return true; } onerror=errorhandler; … | |
is not working no java script link in ajax-frame content Ajax Tabs Content Script [url]http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm[/url] >>>do not open new ajax link from ajax-frame content! do not open Lightbox v2.03.2 ([url]http://www.huddletogether.com[/url]) link from ajax-frame content! could you find some way how to fix it? for example the link from Ajax Tabs … | |
Hello, I am having difficulties with this, I have been working weeks on getting a site finished and I'm down to the last couple of pages and this has become irritating. If you could help I would be very thankful. Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource … | |
I can't figure out how to validate that no duplicate numbers have been entered, and when they enter a duplicate number it should alert them that they can't do that. Can someone please help me out? [code] <style type="text/css"> body {text-align:center; background-color:#151B8D; color:white} p.intro {text-align:center; font-size:24pt} h1 {font-size:30pt} </style> <script … | |
I want to override the maxlength (chars) seetings below for my board, however [B]I dont have direct access to the templet[/B] . Is there a way to script it to increase maxlength? [code]<tr> <td colspan="2" class='pformstrip'>Topic Settings</td> </tr> <tr> <td class='pformleft'>Topic Title</td> <td class='pformright'><input type='text' size='40' maxlength='50' name='TopicTitle' value='' tabindex='1' … | |
is there any methods to read the cookie created from web.config? As the web.config allows you to set the cookie name.. i tried to read the cookie in html by using JavaScript. It can't be read... when i keyed in the URL of the html file, it doesn't send me … | |
Is it possible to pass the javascript varible from one php page to another php page. what is the syntax we use. | |
Hi all, I would like to know how to assign and get the form value when I using it in a [COLOR="Red"]loop[/COLOR]. I cannot get all the input that I inserted in '[COLOR="red"]Desc[/COLOR]' part and it is from[URL="http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm"] [COLOR="red"]this site[/COLOR][/URL]. May I know to get this work when I do … | |
Hi. I have two sets of code below. The first is part of my old code off a page called item.cfm. the second is the same code, but i have attempted to change the destination link to a url i have stored in my database for the button btnaddtocart.gif. that … | |
Hi This is ScorpionZ I have Created a window that holds an Id of Particular Product having code this: <head> <script type="text/javascript"> function poponload() { testwindow= window.open ('image_viewer_window.php?images=<?=$prod_id?>', "Image","location=1,status=1,scrollbars=3,width=452,height=218"); testwindow.moveTo(215,350); } </head> <body> <td bgcolor="#F8F8FF"><a href="#" onclick="return poponload()">View Images</a></td> </body> // Talking about $prod_id it is an Id already in … | |
Hi, In my web application which is developed under JSP,JavaScript, the menu's works fine in Internet Explorer but the same sub menu's does not works/opens in firefox and others.For example i gota menu's as below, Admission ------- Student admission --------Faculty admission When i click on Admission link, the student and … | |
I am looking for a text link script that I can use to put my text links on some of my other websites that I own and also some that I rent text links on. I want to be able to make changes to my text links without having to … | |
Hi, i have my site looking like this : [code] html> <head> <title>Toller Titel</title> <link rel="stylesheet" type="text/css" href="layout.css"/> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <script language="JavaScript"> <!-- button1= new Image(); button1.src = "bilder/menue/menue1.jpg" button2= new Image(); button2.src = "bilder/menue/menue2.jpg" button3= new Image(); button3.src = "bilder/menue/menue3.jpg" //--> </script> <div id="menue"> <div style="text-align: … | |
Hello, I am having an issue with a page that works fine in IE and not FF. Bascially it is a <div> loaded with a basic coldfusion input form that posts back to parent of the div page. Problem I am having is a validation routine in javascript seems to … | |
I am a newbie to javascript and have written the following code to make sure that users have checked a radio button. It is set to work on submit. The form is generated by php and has approx 70 options; users may select one. I am not even sure if … | |
can anybody tell me how to display a simple table only using Css and Xhtml? where in xhtml onlt <div> is used please pass me the code thank you | |
Hi All, how to pass server side (ASP.NEt 2.0 with C#.NET 2.0) array variable to another page's client script or How to access one server side web form's array variable in another web form's client script (javascript)? Thanks in advance. Raju | |
Hi just wonder if here are some that can help me with a boxover. Here is the code that i whant boxover in. [code]'Display the subject of the topic Response.Write(vbCrLf & " <a href=""forum_posts.asp?TID= " & lngTopicID & "&PN=" & intRecordPositionPageNum ) If intPriority = 3 Then Response.Write("&FID=" & intForumID … |
The End.