17,115 Topics

Member Avatar for
Member Avatar for Ryujin

Greetings! I'm trying to make [URL="http://faculty.kutztown.edu/rjensen/charcoun.htm"]this tool[/URL] for some fellow librarians who answer questions via text messaging. As you see beneath that page's text box, the catch is that the PC-to-SMS client treats the forward slash as [I]two[/I] characters. I'd like if possible for the JavaScript character counter to recognize …

Member Avatar for Ryujin
0
388
Member Avatar for sicoev

I would like to use Galleria to display photos on my website but I'm having trouble getting it to function. I don't know an awful lot about html but I think I've followed the instructions correctly. I would like my gallery to function something like this: [url]http://monc.se/kitchen/stew/galleria/index2.htm[/url] but right now …

Member Avatar for sicoev
0
95
Member Avatar for hallinan

I have a drop down box which is working but I want to put it on the same page twice because the document.drop_list.? is hard coded it will not work if I try and use it twice on the same page I have tried sending the id to the javascript …

Member Avatar for hallinan
0
111
Member Avatar for albertkao

I like to have a sleep or delay function in javascript. The Prototype library 1.6.1 has a delay function. It is working well in Firefox or Chrome but not IE 7 on windows XP. Please help (I cannot use newer version of windows). [CODE]function sleep() { } sleep.delay(0.1);[/CODE]

0
75
Member Avatar for iandmac

Hi one and all, Have taken a look through the mass of other threads and whilst not covering what I need, certainly given me a dozen other ideas for other things, so definately not wasted hours but learning diversion, anyway sorry. I have been trying to utilize a pre existing …

Member Avatar for iandmac
0
225
Member Avatar for cfHutton

Hi all, first time post here. I'm using jquery/ajax to create some links with window.open method. Here's the relevant code: [CODE]$("#content").empty(); $.ajax({ type: "GET", url: "webapps.xml", dataType: ($.browser.msie) ? "text" : "xml", success: function(xml){ var newXML = parseXml(xml); $("#content").append('<h2>'+ cat + '</h2>'); $("#content").append('<div id="appLinks"></div>'); $(newXML).find("APP").each(function(){ <!-- alert("before if"); --> if …

Member Avatar for cfHutton
0
175
Member Avatar for anish5000

Hi, I have a page in which the code is as below: <%@ taglib prefix="s" uri="/struts-tags"%> <s:url id="delete" action="delete" > <s:param name="proj.id" value="id" /> </s:url> <s:a href="%{delete}" onclick="return confirm('Are you sure?');" theme="ajax" notifyTopics="selected_Project" formId="projectForm">Delete</s:a> Now the issue over here is, when i click on the delete button i get a …

0
55
Member Avatar for ramjeev

Friends, Can u suggest me some good sites and tutorials to start Extended JS (Java Script) ? --Thanks ramjeev

0
71
Member Avatar for chathuD

guys i am new to java scripts and these days iam following some tutorials on w3school and lynda. i have a big problum on classes on Jscripts. this is my code [CODE]<html> <body> <script type="text/javascript"> //Write a "Good morning" greeting if //the time is less than 10 var d=new Date(); …

Member Avatar for chathuD
0
153
Member Avatar for nelliott10

I have produced some code which adds a table row on a button click, which can be seen below. However, I would like the new row to be added at the bottom of the table instead of the top. How can this be achieved? [CODE]function addRow() { //add a row …

Member Avatar for nelliott10
0
4K
Member Avatar for phoenix_dwarf

Im doing some stuff in the code behind page and then putting that data into javascript respectively. This javascript is then connected to the asp.net page with a literal control. I.E. [CODE] StringBuilder sb = new StringBuilder(); sb.Append("<script type='text/javascript' src='http://www.google.com/jsapi?key=ABCDEFG'></script><script type='text/javascript'>google.load('maps', '2'); ...SOME MORE CODE HERE.... }"); sb.Append("function createMarker(point, htmlSTR) …

Member Avatar for phoenix_dwarf
0
596
Member Avatar for MDanz

i have two frames. the bottom, which is my domain. the top which is an external domain. i'm trying to make a bookmark script, which bookmarks anypage in the top frame. But i can't retrieve the top frames url becuase of the same origin policy. the top frame is called …

Member Avatar for Airshow
0
75
Member Avatar for sojanjose4u

well am not very sure of displayign messages as if in light box. been useing javascript alert can some one explain how her eon this site when a user enter the site we get a light box style page displaying sign in to use maximum of daniweb .how to do …

0
47
Member Avatar for atar

Hello to all the fellows!! Here is a great site that is excellent for studing web development. this site is suitable for all the levels from beginers to experts and the best thing is that all for FREE!!!! Visit here: [url]http://www.w3schools.com/[/url] Best regards! atar.

0
71
Member Avatar for jino

Dear, I am doing a site for chatting application. How can i detect the other person start typing for displaying he is typing... I also want to display an (alert) , what i mean is , if we typed a text and go to an another tab and if we …

0
62
Member Avatar for amithks

Hi :-) my browser is not able to access the javascript of css file from the location. Its saying What might be the reasons <p> The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. </p> I dont …

Member Avatar for Graphix
0
137
Member Avatar for johny321

Is there difference b/w Javascript & JSP. are JSP is the abbreviation of Javascript. In my point of view Java is totally different from Javascript. There is slight confusion about Javascript &JSP. Can any one explain it

Member Avatar for manoharsingh
0
126
Member Avatar for cloud09

I have a form that "activates" the submit button; switching a greyed out version that does nothing for the working one, when all the fields are correctly filled in. The problem arises in IE 7 when the submit button is supposed to be activated. The greyed one disappears, but the …

Member Avatar for cloud09
0
133
Member Avatar for gangsta1903

Hello, I am trying to write a simple javascript to read all forms. My ReadForm function works right. I tried it out of ReadAllForms function, there is no problem with it. I think document.getElementsByTagName returns false. Why can this happen? [CODE=javascript] function ReadAllForms() { if (document.getElementsByTagName) var myforms = document.getElementsByTagName("form"); …

Member Avatar for PierlucSS
0
203
Member Avatar for gunnarflax

Hi! I'm trying to create a file browser - similar to windows explorer but for the web. I want to be able to move a file into a folder and for this I'm using the jQuery UI library. The code I have so far is this (I haven't made any …

0
67
Member Avatar for loligator

IE tells me there's an error on line 17, which is the onload method of the body tag. So here's the code... [code] <script language="javascript" type="application/javascript"> function startUp() { setFocus(); } function setFocus(){ document.frmSearch.txtSearch.focus(); document.frmSearch.txtSearch.select(); } </script> [/code] And here's how it's called: [code] <body onload="startUp();"> [/code] I tested this …

Member Avatar for loligator
0
2K
Member Avatar for albertkao

To ensure my program keep the client preference after page refresh, do I do this: [CODE]var value = Cookie.get('key'); if (value == null) { // get the client preference // ... // save the client preference Cookie.set('key', 'uservalue'); } // use the client preference[/CODE]

0
68
Member Avatar for saiprem

Hi All, I am trying to add a an element(Select Box and added a function in onChange) through Javascript, which is working fine in IE6, IE7, FF and Opera. But i am failing in IE8. If anyone has come accross this issue please help me. here is my code [code=javascript] …

Member Avatar for Airshow
0
159
Member Avatar for pavankumarupper
Member Avatar for akabir77

I am very new to this and trying to call a method which will update the record depending on the check box user clicks. now my jsp looks like this [CODE] <input TYPE="checkbox" name="<%=as.getAppId()%>" id="<%=as.getAppId()%>" <%=((as.isStatus()==true)?"CHECKED":"")%> onClick="update('<%=as.getAppId()%>')" /> [/CODE] and the scripts [CODE] function update(appId) { var stat = eval("document.getElementById(appId)"); …

Member Avatar for akabir77
0
70
Member Avatar for ClaudeVernier

Hello, I have started to work on a new implementation of a shopping basket, some of it is not working as I would like it to do and so, I thought I could ask for an advice. I have included the full HTML page in a ZIP attachment, it is …

0
24
Member Avatar for happygeek

The MIX10 Microsoft Developer Conference is always good for a laugh or two, but just who was rolling on the floor after the IE9 preview code was revealed? Certainly Microsoft is deadly serious about Internet Explorer: The Next Generation. So serious that it has apparently created a new development team …

0
593
Member Avatar for sam023

i need javascript for a textbox which allow only alphabet and first letter becomes capital on keyup..!! any help will be appriciated..!! thanks.!

Member Avatar for chandsir
0
134
Member Avatar for Bubbleboy

I wrote a code that i want to fade a <div> tag with. Here's the <div> tag. [CODE]<div id="about" onmouseover="fadein('about');"><li><a href="">About</a> <ul class="navbar" id="aboutoptions"> <li><a href="aboutus.html">Us</a></li> <li><a href="aboutproj.html">Projects</a></li> </ul> </li></div>[/CODE] Here's my java code. [CODE]function fadein(objectID){ object = document.getElementById(objectID); object.style.opacity = '0'; animatefadein(); function animatefadein(){ if(object.style.opacity < 1){ var current …

Member Avatar for hashinclude
0
174
Member Avatar for edDev

Ok, I've got this code that needs to load a .wmv file - the client is adamant about using .wmv files and not Flash files - and the client insists that it use variables for the width and height parameters. Thanks to a couple of you, I've now got the …

Member Avatar for jasonc31
-1
453
Member Avatar for footyboy87

As above, vital for my project! I need a while look whereby a customer will enter a currency value, which must be an integer obviously. They must enter 10 currency values and the sum of these values must be printed. Any help would be much appreciated!

Member Avatar for Graphix
0
65
Member Avatar for benqus

Hello everybody! I have a serious problem with my diploma work! So here it is: My ajax.js file cannot be executed. It does nothing when I click on the buttons... Here's the ajax.js code:4 [CODE] function opensave(type){ url="open.php"; content=replacer("editor"); var xmlhttp=if(window.XMLHttpRequest){ new XMLHttpRequest(); } else if(){ new ActiveXObject("Microsoft.XMLHTTP"); }; xmlhttp.onreadystatechange=stateChanged(); …

Member Avatar for Graphix
0
139
Member Avatar for Aaron Robinson

I am looking into using JQuery cookies to keep track of a menu when the page is reloaded ([url]http://plugins.jquery.com/project/cookie[/url]). I am using GET/POST to change the content section of my website layout. My question is about session-cookies. They are only destroyed when the browser closes, not when the user leaves …

0
338
Member Avatar for angelicakirana

Hello, i'am newbie. I don't know about programming language,in each language, i only know "hello world". Javascript is spend more expensive bandhwidth. Especially for Limited Account of hosting. Is it possible to convert javascript to php or html ???

Member Avatar for angelicakirana
0
3K
Member Avatar for farsen

Hi. In lack of better examples, I´ve found this javascript example which shows and hides content in a sliding way. Exactly what need. You can see the example here: [URL="http://www.dhtmlgoodies.com/index.html?whichScript=show_hide_content_slide"]http://www.dhtmlgoodies.com/index.html?whichScript=show_hide_content_slide[/URL] And the demo here: [URL="http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html"]http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html[/URL] Problem is, because of my text and image layout, I want the hide/reveal text to …

0
145
Member Avatar for danielperez

I want to know what would be better to learn java or javascript and what is the difference. Also what would be a good free study manual or program that could help me.

Member Avatar for magicalmakx
0
92
Member Avatar for gupta.software

I have Webpage written using PHP that displays drop down data from MySQL tables. I want my page to refresh and appeared new entry list in drop down list, after new records are entered to the database.I want auto refresh but when submit the form only.

Member Avatar for gupta.software
0
228
Member Avatar for phoenix_dwarf

I'm trying to test out the Ajax multihandleslider control but the control dos not show up on the screen. Only an empty text box. Am i doing something wrong? This is everything... [CODE] <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" EnablePartialRendering="true" /> <div> <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate> <table> …

Member Avatar for phoenix_dwarf
0
126
Member Avatar for cali_dotcom

i have 3 form on a page and unfortunately i am not allowed to change that. the problem is when the third form is submitted, i would need to grab the data displayed from the second form to update the database incase the user changed anything on it. does anyone …

Member Avatar for danielh
0
93
Member Avatar for peck3277

Hi guys, Im having a problem with some code here. I have 2 divs and 2 buttons. I want 1 dive to hide and 1 display when i click one button. And when I click the other button the other div displays/hides. I'm using the below code but it just …

Member Avatar for cloud09
0
108
Member Avatar for icats

Hello! I could do this in Struts 1 but can't for the life of me figure out how to do this in struts 2!!! Basically, data I posted as a JS array would come into the action as a String array, but now nothing comes in and "myCars is null". …

0
87
Member Avatar for albertkao

My table columns are sorted by the Tablekit library (millstream.com.au/upload/code/tablekit/). The user can click the columns to toggle the sort order either ascendingly or descendingly. I can save the current sort order (preference) in the server. After the page is refreshed, the web page is sorted by the original sort …

0
75
Member Avatar for danielh

If a user navigates away from a page while that page has a pending asynchronous ajax request that request will most likely hang and just remain sitting there hogging one of the (normally two) available per-domain connections for a few minutes. If more requests get stuck and all available connections …

0
49
Member Avatar for nishant52

I'm trying to perform multiple inserts into a table present in SQLite database using JavaScript. For this purpose I'm using Transactions. Here is my code (HTML + JavaScript): <html> <head> <script language="javascript"> var shortName = 'Test'; var version = '1.0'; var displayName = 'Test'; var maxSize = 65536; db = …

0
99
Member Avatar for tryphy

I have a multi form, In a form, i have the <back and Next> button. So i used the form action in these to button, I also have a validation which i did using javascript , [CODE] <head> <script type="text/javascript"> function validate_name(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false} …

Member Avatar for diafol
0
2K
Member Avatar for MartinJ

Hi there, i have a bit of a problem with integrating CKeditor... I have a dynamic dropdown select box filled from MySQL, i have followed an Ajax tutorial on W3 schools [url]http://www.w3schools.com/php/php_ajax_database.asp[/url] on how to get the selection pulled from MySQL to populate a textarea where it can then be …

0
46
Member Avatar for ephremmie

[QUOTE=me655321;1078383]Oh ok...you need to use scale="exactfit"... [CODE] <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" WIDTH="400" HEIGHT="200"> <PARAM NAME=movie VALUE="Images/Directions/map.swf"> <PARAM NAME=scale VALUE="exactfit"> <EMBED src="Images/Directions/map.swf" WIDTH="400" HEIGHT="200" TYPE="application/x-shockwave-flash" SCALE="exactfit" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> </OBJECT> [/CODE] That should do it for you.[/QUOTE] Please help me to view an .swf video in fullscreen mode by default. When the user …

0
43
Member Avatar for Bubbleboy

Hi everyone. I, like the majority of us web developer's, despise internet explorer. So on my site, i want to put something in just for the fun of it that detects IE and says something. Right now i have just a plain alert asking to please change to a different …

Member Avatar for alexhernandez
0
151
Member Avatar for phoenix_dwarf

I got a simple javascript function in my asp.net page that just checks to see if one value is smaller than the other. The condition value is 15000.00 and i'm comparing it to 920.00 Why does it evaluate to false? [CODE] var moo= 15000.00; var orig= 920.00; var bool = …

Member Avatar for phoenix_dwarf
0
108
Member Avatar for JuliaNell

I have two files which has two types of profiles (user and Admin), Now the problem is how do i create a session which if im a user takes me to the user page and when im admin takes me to admin page!!!

Member Avatar for sureronald
0
76

The End.