15,117 Topics

Member Avatar for
Member Avatar for rayidi

Dear Friends, I'm developing a website that can show online users, When ever a user logged we can update the status to "Online" On our database. Now i'm using AJAX. Is it possible to show the online users without refreshing a page ? That means timed interval for a ajax …

Member Avatar for makman99
0
167
Member Avatar for iinviktus

Hi all- I'd like to change the buttons below used to change images to links/images instead. Any help would be appreciated! Thanks. [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"> <head> <style> </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type='text/javascript'> onload = function() { var buttonData = [ {src:'fareast.gif', href:'http://google.com'}, …

Member Avatar for Airshow
0
195
Member Avatar for pbracing33b

I have a simple question and I cannot find any definitive answers online or in any books that I have. So here is the question: Does JavaScipt methods work with any web page elements? I do have some guesses but I don't have anything to back it up, or confirm. …

Member Avatar for Airshow
0
100
Member Avatar for oblo10

Hi. I have a jquery tab in my site. I want to set class="current" when clicked a tab. How can I do that? Thanks. <script> $(function() { $("#tabs").tabs( { } ); }); </script> <div id="tabs"> <ul class="nav-content" > <li class="current first-li"><a href="#tabs-1">Tab 1</a></li> <li><a href="#tabs-2">Tab 2</a></li> <li><a href="#tabs-3">Tab 3</a></li> </ul> …

0
61
Member Avatar for exidez

Im new to javascript so im sure there is a lot i am missing in its understanding. What i am trying to do it create a layer of images so that it looks like a pile of cards. have seen similar codes and have tried to follow their idea but …

Member Avatar for Airshow
0
143
Member Avatar for rahul bora
Member Avatar for Airshow
0
54
Member Avatar for azegurb

hi all, I have script that sums all textboxes value from dynamically added row, but still i have problem with the script. below listed two version of script [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="en" lang="en"> <head> <title></title> <script type="text/javascript"> /*<![CDATA[*/ function addRow() { // grab …

Member Avatar for Airshow
0
291
Member Avatar for azegurb

Hi all, I have taken slide show script from net. But There some functions i cannot understand here is script [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" > <html lang="en"> <head> <title></title> <script> var interval = 1500; var random_display = 0; var imageDir = "my_images/"; var imageNum = 0; imageArray …

Member Avatar for azegurb
0
159
Member Avatar for pagerussell

hello, I am using onclick ajax requests and innerhtml to give a site only partial page reloads. One of the page reloads links to an image gallery, where I am attempting to use fancybox. I have all the scripts properly linked and there are no syntax errors, but it (the …

0
103
Member Avatar for jaycastr

I have a textarea where i want the user to just enter the values: $x $y $z $a $b $c (,),+,-,*,/ ^ Here what i have so far [CODE] Formula <textarea name="formula" onkeyup="check(this.value)" ></textarea> [/CODE] javascript [CODE] function check(formula) { ???? } [/CODE] Thanks in advanced

Member Avatar for crishlay
0
76
Member Avatar for bala2111

Please go through the below fiddle. I am trying to get the ids of the selected products in the fcbkcomplete box and show it as comma separated values in the textbox with id interest. I wrote a function to achieve that but i couldn't do it. The function adds the …

0
42
Member Avatar for AMADH

Hello, I am trying to create a series of links that will show an element and then open up up the a different element for each. I have it so that I can create on, but I was wondering if somone could help me figure out how I can get …

Member Avatar for phpboyza
0
152
Member Avatar for Behseini

Hi every one, Can you please let me know how I can use Jquery to append and remove data into a table by checking and unchecking html checkboxes?(Or any plugin for this?) I would like to generate an online order invoice from the following checkboxes: [CODE] <fieldset> <legend>Your Choice:</legend> <input …

0
99
Member Avatar for n3xtgen

I am working on a web application and using the Google API for geo-location. I am using a localDB to store locations for now and displaying them using this: [CODE]function displayItems() { readItems(LocalDB, function(items) { var appendHtml = ""; for (var i = 0; i < items.length; i++) { appendHtml …

0
57
Member Avatar for gauravmac

dear all net visitors & developers please help me? help help help, how can i create a frame in web page using html,

Member Avatar for simplypixie
0
42
Member Avatar for sunwebsite

Hi I want to remove the first <LI> item and last three <LI> item from <UL> list. How to write code in JQuery. I need the below list [CODE] <ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> <li>6</li> <li>7</li> </ul> [/CODE] as below result [CODE] <ul> <li>1</li> <li>5</li> <li>6</li> <li>7</li> </ul> [/CODE] …

Member Avatar for stbuchok
0
2K
Member Avatar for rpv_sen

Hi friends i am having n number check box, if i checked one check box it has to select all the similar values of the check box and the other check box should be disable. can any one help me to solve the issue i am having a java script …

Member Avatar for rpv_sen
0
200
Member Avatar for allena
Member Avatar for lse123

Eclipse-JavaScript IDE has embedded all JavaScript Libraries like jQuery, MooTools, etc so applies code completion, to what ever is implemented, along with plain JavaScript?

Member Avatar for stbuchok
0
219
Member Avatar for ud2008

Ok, first let me explain what I try to do. I have a menu with some items containing a submenu. The submenu's should open when a parent is clicked and contains submenu's, and when traveling to another page (from the item clicked, for example a parent of submenu item), the …

Member Avatar for ud2008
0
1K
Member Avatar for saad_sinpk

hi i have call ajax in other page like this [CODE]<script type="text/javascript"> //////////////////////////////// // // Refreshing the DIV FANBOO2 // //////////////////////////////// function refreshdiv_fanboo2(){ // Customise those settings var seconds = 1; var divid = "fanboo2"; var url = "http://pickthefights.com/fanboo2/?id=<?php echo $idvar ?>"; // Create xmlHttp var xmlHttp_two = AJAX(); // …

Member Avatar for saad_sinpk
0
272
Member Avatar for vvsjon

Google don't crawl my javascript link.. [CODE] <td><span>1</span></td><td><a href="javascript:__doPostBack('grdCompany','Page$2')">2</a> ........ [/CODE] How i crawl these link in Google??

Member Avatar for hericles
0
103
Member Avatar for Shanti C

What are the replacements for javescript. I think JQuery in one of the good replacement for jave scripts though it is developed using Java script. I want to know any other like this .. Please give me any link or information on this Thanks in Advance..

Member Avatar for Shanti C
-1
121
Member Avatar for Violet_82

Hi guys, I would like to add sth to my website but I am not sure what's the best way to achieve this. It is a kind of image gallery, say I have 10-20 images and I want to display all of them one after another one from the beginning …

Member Avatar for Violet_82
0
498
Member Avatar for Pravinrasal
Member Avatar for softDeveloper

Hi all, I have the following problem: I have 4 documents whose text is divided into blocks of text, hereafter called section. One of the documents is the main document, and the sections from the other documents are related to the sections of the main document. The main goal is …

Member Avatar for niranga
0
116
Member Avatar for gunnerone

Hi, I have this javascript at the top of my php document on my website: [CODE] <script type="text/javascript"> document.getElementById('add').addEventListener('click', function(event) { event.preventDefault(); var select = document.getElementById('select').cloneNode(true); document.getElementById('form').appendChild(select); }, false); </script> [/CODE] In the body of the php document there is a form : [CODE] <form id="form"> <select id="select"> <option>one</option><option>two</option><option>three</option> </select> …

Member Avatar for pritaeas
0
108
Member Avatar for oblo10

Hi. I have a web site that contains jquery tabs and one tab consists of a sortable jquery. Although the sortable works induviduallay it doesnt work when it is put into the tabs. Is there a solution of that? My tab code is as follows. <script type="text/javascript" src="javascripts/jquery.js"></script> <script type="text/javascript" …

Member Avatar for Airshow
0
663
Member Avatar for mayreeh
Member Avatar for Pravinrasal

how can I access class name without using id I have following div tag: <div class="aa bb cc"> </div> their are three classes if i access class then which one will be access.

Member Avatar for niranga
0
70

The End.