14,054 Topics

Member Avatar for
Member Avatar for Ryujin

This page is very heavy. I see that the jQuery library accounts 164K which is almost 40% of the page weight. As can be seen in the source, /jquery.js loads twice, as do several other scripts! But if i remove /jquery.js library from either line, the page breaks (tabbed box …

Member Avatar for tinymark
0
186
Member Avatar for lukemaister

I was wondering about the technology used by Facebook and Twitter (those are the obvious and most popular ones). I have realised that when adding a status or a comment or subscribing to a conversation, the page does not actually post to server to modify the database. Actually, on click …

Member Avatar for tinymark
0
110
Member Avatar for sivakumarl

Hi Friends, I need to select browser option dynamically using javascript for handling cookies , i.e., in need select "override automatic cookie handling" checkbox dynamically. Kindly help me friends how to select this check. Tools - -> Internet Options --> Privacy (Tab) --> Advance (Button) --> Override automatic cookie handling …

Member Avatar for tinymark
0
246
Member Avatar for Excizted

Hello Daniweb, I want to make a custom visitor tracking tool and like Google Analytics it must be able to track how long time visitors spend on each page. How do you recommend doing this? I thought of using the Javascript onload event to start counting time serverside and then …

Member Avatar for tinymark
0
113
Member Avatar for tcollins412

this will not work on change. also the innerhtml wont display. please help. here is the js: [CODE]function checkemail(){ if (document.suform.email.value && document.suform.emailcheck.value) { if (document.suform.email.value == document.suform.emailcheck.value) { document.suform.emailcheck.style.backgroundColor='#FFFFFF'; document.getElementById('wm').innerHTML=='Emails Match!'; }else{ document.suform.emailcheck.style.backgroundColor='#F75B53'; document.getElementById('wm').innerHTML=='Emails Dont Match!'; } } }[/CODE] and here is the html: [ICODE] Re-type Email: <input type='text' …

Member Avatar for sivakumarl
0
131
Member Avatar for vizz

I want to create one menu with anchor tag for e.g=> <a href="http://www.example.com/example.php" rel="facebox">Example</a> I want to write javascript function for that like $menu = array(); $menu['page name without extension'] = 'Page Title To be showed on page'; function MenuGen() { } In addition I want to add FACEBOX from …

Member Avatar for tinymark
0
241
Member Avatar for debasishgang7

Hello all,....I am trying to make a form which will be in a javascript pop up window.And there will be a submit button(also in the pop up window)..After submission this form will post some data to a php or asp...

Member Avatar for tinymark
0
96
Member Avatar for thegerm

Hi, I have a HTML/PHP/MYSQL setup where I want to use a value chosen from one HTML <SELECT> to restrict values shown in the next HTML <SELECT>. It's a reasonably common requirement but I just can't get it. A good example is where the user chooses a country and then …

Member Avatar for McLaren
0
238
Member Avatar for jreddick82

I am unsure what is going on with my website? I had flash on it, and I have removed the flash and installed javascript. Everything is installed correctly from what I can see, when I go to the view page button on Dreamweaver the images rotate. When I upload it …

Member Avatar for jreddick82
0
225
Member Avatar for razaque

i am a learner and tell me [COLOR="Green"]how to move any thing in javascript or movement as slide action.[/COLOR] i wait your answers

0
42
Member Avatar for ndeniche

Hello peeps. I'm trying to update a sql table from mi php Ajax web page, which stores dynamically a table into the page by [icode]table.appendChild(row)[/icode], so that the user can verify the information he is inserting before the actual database update. How do I do this with ajax?

Member Avatar for ndeniche
0
139
Member Avatar for kardklub

i have this piece of code i would like to validate using javascript. I have the validation code already , all i would like to know is how do you send a changeable variable to javascript i.e [CODE] while($row1 = mysql_fetch_array($result)){ $sel = ($row1['productid'] == $row['productid']) ? "selected=\"selected\"" : ""; …

Member Avatar for kardklub
0
284
Member Avatar for maria_megha

please give me the code for checking the company name entered in textbox using javascript .Only sentence case to be allowed.Only abbreviations (without a full name) should not be allowed.(eg DPS) Abbreviations if any should be allowed only at the end of the name within ().eg Delhi Public School(DPS)

Member Avatar for Taywin
0
99
Member Avatar for still_learning

Hi there, At my company we are working on building a website, however javascript is disabled on the server and cannot be enabled. Onclick, onmouseover, etc.....these events do not work either. Is there any alternative to making my page dynamic? Mainly I'm wanting simple things like being able to fire …

Member Avatar for z-Steve
0
116
Member Avatar for McLaren

Hi, [CODE] $('object').live('mousedown',function(){ url = $('.m_banner_show object param[name="movie"]').attr('value'); alert(url); //filename = url.substring(url.lastIndexOf('/')+1); //pridedam paspaudima $.post( getBaseURL() + "index.php?option=com_ReklamuRodymas&controller=welcome&task=addClick&format=raw",{filename: filename}); }) [/CODE] The html code: [CODE=html] <OBJECT id=bnr_banner2_0 codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=468 height=60 VIEWASTEXT> <PARAM NAME="_cx" VALUE="12382"> <PARAM NAME="_cy" VALUE="1587"> <PARAM NAME="FlashVars" VALUE=""> <PARAM NAME="Movie" VALUE="uploads/banners/file4.swf"> <PARAM NAME="Src" VALUE="uploads/banners/file4.swf"> <PARAM NAME="WMode" VALUE="Transparent"> …

Member Avatar for tinymark
0
106
Member Avatar for serdas

below code work this with no problem <form name="statusUpdate" action="" method=""> <textarea name="status" id="status" rows="4" cols="50"></textarea> <input type="button" onclick="updateStatusViaJavascriptAPICalling(); return false;" value="Update Status via Facebook Javascript Library" /> </form> [CODE] } function updateStatusViaJavascriptAPICalling(){ var status = document.getElementById('status').value; FB.api('/me/feed', 'post', { message: status }, function(response) { if (!response || response.error) { …

Member Avatar for serdas
0
130
Member Avatar for AMADH

Hello, I have created a javascript script to select a color for the css theme. I have it working great for picking, but the problem is when I refesh it goes back to the default. I was wondering if somone might know why my cookies are not saving? from html …

Member Avatar for AMADH
0
250
Member Avatar for serdas

below is the code i found from some nice tutorial it works great but the function post to wall promt user to either publish or skip, on some other php file this trigers it i think <a href="#" onclick="publishStream(); return false;">Click Here To Show A DEMO Stream Publish Box</a> and …

0
65
Member Avatar for mark4013

Hi Guys, I'm new to programming and webdesign, but my girlfriend asked me if I'd build her a site for her massage therapy with an online booking calendar as she can't take calls for bookings during work so I thought I'd have a go. I've pretty much finished the booking …

Member Avatar for tinymark
0
93
Member Avatar for GHLifestyle

I'm retreiving data from a texfile with AJAX through: document.getElementById("my div").innerHTML=xmlhttp.responseText; but I want to make a linebreak in the text before each capital letter starts. How do I go about doing that? Appreciate the help.

Member Avatar for Taywin
0
247
Member Avatar for tcollins412

i am making a register page on my website. i have a password and a re-enter password text fields. how would i validate those two by making sure they are the same in ajax? and how would i make that happen on the re-enters onblur or onchange? thank you

Member Avatar for kardklub
0
139
Member Avatar for Munnazz

Hi friends i was in a need of using reorderlist from ajax family. I tried a lot and was unable to do anything with please help me. Munnazz

Member Avatar for Munnazz
0
89
Member Avatar for filch

On this page: [url]http://streetkids.zuka.net/sandbox/map-new.05.html[/url], when you click on, for instance, Ethiopia, you get a map and then when you click on the "flag" you get a popup with some tabbed info. At the bottom of this popup is a close link. It is there the first time you click on …

Member Avatar for filch
0
144
Member Avatar for kardklub

if i have [CODE] <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>[/CODE] [CODE] <script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js" type="text/javascript"></script>[/CODE] both of these in my header my jquery menu does not work. i have searched google and it keeps telling me about this [CODE] <script> jQuery.noConflict(); // Use jQuery via jQuery(...) jQuery(document).ready(function(){ jQuery("div").hide(); }); // Use Prototype with $(...), …

Member Avatar for kardklub
0
202
Member Avatar for SchemeStarter

On a form, I want to jump to the next tabindex when pressing the 'enter' key. The script that should do the thing, should look like this (the tabindex is generated dynamically and the code is simplified): [CODE] <form id='MyForm'> <?php $tabindex = 1; ?> <input class='pts' type='text' id='<?php echo …

Member Avatar for Taywin
0
1K
Member Avatar for gazzy1

THE SCRIPT bELOW PASSED THE SECOND TO 0 (STARTING FROM 1500 SECOND) I NEED 1500 SECONDS THAT SHOW AS 00:25:59, 00:25:58................00:25:01...00:24:00...00:24:59........................UNTILL 00:00:00. PLZ HELP ME <HTML> <BODY> <script language="javascript" type="text/javascript"> var myTime = "1500"; function countDown() { document.form.seconds.value = "00:25:" + (myTime < 10 ? "0" + myTime : myTime); …

Member Avatar for tinymark
0
122
Member Avatar for gazzy1

i want to create a timer for my php page i created the page that only 20 second i want that the time should be as 00:00:20 (hh:mm:ss) plz help my scipt are.......................................................................................................... [code]<tr> <!-- countdown script --> <td style="text-align:left;font-size:10pt;font-family:Verdana, Arial;">Time Left: <input type="text" name="seconds" size="3"> <script language="javascript" type="text/javascript"> var …

Member Avatar for Luckychap
0
2K
Member Avatar for CommDave

I've used this method to highlight the location page that the user is on. Below is a working example of how this functions. This works in div tags or in a tables and cross browsers. Below I've created a main Navigation and two sub navigation. Terminal Intensity, Surreal 1, & …

Member Avatar for Taywin
0
492
Member Avatar for kudenv

Hy all. I have some problem then tried employ action onMouseover and onMouseOut. I have further drop unordered menu [CODE] div#content{position: relative; padding:0 10px; border: solid 1px #6b6b6b; height: 100px;} ul li {list-style: none;} ul.menu {padding: 0; margin:0; display: block; height: 68px;} ul.menu > li {float: left; background: url("li.jpg") no-repeat …

Member Avatar for kudenv
0
189
Member Avatar for kgizo

hi i'm new to ajax i've already got a drop down menu populated with values from my database and the code is underneath here, when i click on any province in the drop down menu the cities have to appear on the next page which are also from my database.The …

Member Avatar for kgizo
0
164

The End.