15,698 Topics

Member Avatar for
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
221
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
275
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
105
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
124
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
505
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
120
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
110
Member Avatar for youvi

Hello guys, Am working on phonegap(jquerymobile) for an android application.I want to implement a map which shows a marker at a particular location and when i click on the marker,it should show a window and a description about the location inside the window..The below code is working when i run …

1
126
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
666
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
72
Member Avatar for Pravinrasal

If I click on div first time it show alert and if i again click on div it will not show any alert box

Member Avatar for as.bhanuprakash
0
94
Member Avatar for andarivaadu1

Hi everyone, If there are multiple hyperlinks in a webpage, How do I recognize them using java script. Also How do I store the content of the hyperlink in a variable , so that the data stored in the variable will be used the query a database and populate results …

Member Avatar for Airshow
0
148
Member Avatar for gikonyo

I want 15% discount to be displayed automatically on the webpage once the user selects SE15 as the discount code(when the function is called) this is the code i have, its not working, what could be the problem <script type="text/javascript"> function getDiscount(){ var discount_code=document.orders.discount_code.options[document.orders.discount_code.selectedIndex].value; var discount=document.orders.discount.options[document.orders.discount.selectedIndex].value; var answer=document.orders.answer.value; if(discount_code=="SE15") discount=answer-(answer/100*15) …

Member Avatar for Airshow
0
85
Member Avatar for gorleone

Have a interesting problem. I make a little ajax mechanism to get info from php file and add a function for delete the data. phpfile.php: [CODE] <?php if(isset($_POST['bu'])){ $data = 'text<a onclick="something();" href="#">alert</a>'; echo $data; } ?> [/CODE] js file: [CODE] function getdatafromfile(){ var bu = 'bu'; $.ajax({ type: 'POST', …

Member Avatar for Airshow
0
374
Member Avatar for andarivaadu1

Hi everyone, I have a web application developed using php. I want to add a new feature in it. When the user searches for some book details, all the book details are displayed. Now when the user clicks on a book name in the search results, He will be redirected …

Member Avatar for diafol
0
177
Member Avatar for airmvp23

I've been round and round with this subject, but here goes again. Basically I need to Click a Form Button and submit that click into an iframe located on a separate page. The history behind this is that I am using Joomla for my main platform, but needed a more …

0
95
Member Avatar for web_develop

Hi all, I'm building a shopping website that within the products' page, there's an HTML select that allows the user to choose what product type he wants to view. beneath the select, there's a heading followed by a div or a table created at runtime showing the product name, image …

Member Avatar for niranga
0
118
Member Avatar for Loveleen Kaur

i am using jquery code and it is being called inside while loop. the output is correct for the first time but the output is already displayed for the second tym. plz help me solve this prblem. here is the code. [CODE] <html> <head> <script src="jquery-1.6.4.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready( …

Member Avatar for pzuurveen
0
216
Member Avatar for raheel_88

Hey all, I have the following HTML, adapted from a more complicated one I'm creating; [CODE] <HTML> <HEAD> <SCRIPT TYPE="TEXT/JAVASCRIPT"> function setup(ans) { lit = '' if (ans == 'anim') { lit = '<br><br>How many legs? ' lit = lit + '<SELECT NAME="q2" ONCHANGE="print(document.quest.q2.value)">' lit = lit + '<OPTION VALUE="">- …

Member Avatar for raheel_88
0
176
Member Avatar for Coyx

Hi all! I have a DIV (#content) and in that DIV I have about 4 or 5 <p>'s on the page. I'd like to give just one class of that <p> some jQuery to rotate 45 degrees. Could anyone point me in the right direction? I've searched everywhere I can …

Member Avatar for pritaeas
0
185
Member Avatar for jacob21

Hi, I am new to php/ajax.What i am trying: I have one drop down list,one test box & a button more.if i click more button same drop down & textbox & more button should open $ further goes on.. I need suggestion ?? what should i use??I have to insert …

Member Avatar for pzuurveen
0
119
Member Avatar for amulet_john

Hi Everyone... I need your help please... I want to store my extracted string using list() function... Here is my code below and it doesn't work.. Is there a list() function in Javascript? [code] var Mystring; var H; var M; var S; Mystring="01:00:00"; list(H,M,S)=Mystring.split(":"); document.write("Hours: "+H); document.write(" Minutes: "+M); document.write(" …

Member Avatar for niranga
0
91
Member Avatar for softDeveloper

Hi all, I have several sections in a text, and I would like to highlight each section as mouse rolls over.. I've tried to span the fragments of text but it doesn't work in my jsp...any suggestions?? Thanks

Member Avatar for softDeveloper
0
101
Member Avatar for hijabihtohai

could any body help me here on this issue I want to know if there is a way to call a javascript on vPlayer Event: VPLAYER_PLAY Like when I play/stop a video it do call a javascript on the page VideoPlayed() function VideoPlayed(){ alert('Video Play'); } Reference URL: [url]http://www.goto-multimedia.com/products/vPlayer/asdocs/html/gT_media_vPlayer_VPlayerEvent.html[/url]

0
62
Member Avatar for amulet_john

Hi Everyone... I need your help please... I want to store my extracted string using list() function... Here is my code below and it doesn't work.. Is there a list() function in Javascript? [code] var Mystring; var H; var M; var S; Mystring="01:00:00"; list(H,M,S)=Mystring.split(":"); document.write("Hours: "+H); document.write(" Minutes: "+M); document.write(" …

Member Avatar for amulet_john
-1
283
Member Avatar for jonow

I just got this script for a countdown on a website and I got it to work locally but when I upload it to the server i get the error "index.html:22 Uncaught TypeError: Object [object Object] has no method 'fancycountdown'". I have checked to make sure all other javascript files …

Member Avatar for jonow
0
259
Member Avatar for triumphost

I have a page that has a hidden button at the top. When a link is clicked, the button shows. I want to write javascript so that if the button is showing, add a breakline below it and if it is not showing, do nothing. My attempt & fail is …

Member Avatar for stbuchok
0
73
Member Avatar for Danny159

Hey, I am trying to get this working but failing! I am trying to make it so when you click the heading it opens the nab to do with that heading, and remember it... so next time you go onto the site it will remember what tabs you had open …

Member Avatar for Danny159
0
110
Member Avatar for ujjwal uniyal

Hi, My AsyncFileUpload is not working at all. When I amclicking on the Select file button nothing is happening. It isn't letting me select any file. However if i am setting UploaderStyle to Traditional then it is working fine. My .aspx code is - <div> <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> <asp:AsyncFileUpload ID="AsyncFileUpload1" …

0
76
Member Avatar for saberExcalibur7

Uhm. Well i am really not well equipped with jquery knowledge therefore giving me the complete code would be the solution. =] The function will be 1.get the 70% width of the browser's screen. 2.convert that width into its corresponding px value 3.set the max width of the #mainContainer using …

Member Avatar for saberExcalibur7
0
238
Member Avatar for omaiaa0p

Hello everyone.. I'm developing a calorie counter with a <select> tag as my list of foods. It currently calculates the number of servings, calories per serving as well as the daily caloric intake. My problem is I implemented a "delete row" function to delete a food in case a user …

Member Avatar for MartinRinehart
0
239
Member Avatar for 54uydf

I have a form with 2 submit buttons, inside the form I have a table, each row in a table has a checkbox each row is showing a member-status, each member can have more than 1 status, so the table looks like this- x=checkbox x, david, beginner x, david, pro …

0
72
Member Avatar for praveendasika

Hi I have recently been facing a difficut issue.I think some one is attacking my website. I have attached the jpg image of the failure and its happening on a daily basis .I upload the site and for some hrs its just cool but suddenly i get this error. I …

Member Avatar for albertindian200
0
201
Member Avatar for triumphost

I have an iframe that loads a page inside it.. when a link is clicked on the page in the iframe, resize the body of the parent aka the document that has the iframe's body.. Example: [CODE]Body <------------------------ Iframe | Page | Link... Upon Click, resize --[/CODE] How do I …

Member Avatar for triumphost
0
146
Member Avatar for klemme

Hi all! I am trying to include two functions in an onchange when the user selects a new value from a select list: It is a quite big form form - There are one select list, when changed - TWO other fields in the form needs to change accordingly: I …

Member Avatar for klemme
0
2K
Member Avatar for Biglis35

Hello, a few years ago (about 7 or so) I developed a concept for a website but I had (& still do not have) little to no knowledge on web design... specifically source code. Well I attempted to have the site built by an individual who claimed to have extensive …

Member Avatar for MartinRinehart
0
251
Member Avatar for WolfShield

For those of you unfamiliar with Google Documents, it is like Microsoft Word/Excel/etc. online. I would like to create a simple online document editing program where a logged-in users could edit and save a book or other text-based document. However I do not have a lot of Web Programming experience …

0
77
Member Avatar for rowen17

I want to perform the submit function before going to my summary page but it's not working...I even tried returning false. but still, it didn't work.. [CODE] function submit(){ nodes = document.getElementsByClassName('check_boxes'); len = nodes.length; for (i = 0; i < len; i++) { nodes[i].removeAttribute("disabled"); } return true; }[/CODE] [CODE] …

Member Avatar for rowen17
0
918
Member Avatar for anjibman

Hi All, I am trying to display the helpful message to the user when error occur. a) I have exception catching in Java as follow [CODE] AgencyDAO a = new AgencyDAO(); try { a.updateAgency(agencyId, newAgencyCode, newAgencyName); } catch (DAORuntimeException e) { String message = "My Custom message"; request.setAttribute("GROUPING_EXCEPTION", new Exception(message, …

Member Avatar for Airshow
0
2K
Member Avatar for deceivingrakesh

Guys i have a question !! lets say that i code something in java-script for client side and vb-script in the back-end, now is it possible to execute vb-script in the back-end only once java-script gets executed!! there's an asp button on click java-script should get executed then the vb-script …

Member Avatar for stbuchok
0
79
Member Avatar for PriyalRao

Here is my code for Nested Tabs. How to hide nested tabs content by default and show only links for nested tabs? And How to hide Nested Tabs Links when clicked on any one of them and show nested tabs content related to that link? [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

0
82
Member Avatar for Behseini

Hi everyone, I am am trying to change the "display" property of a div from "none/block" to normal in order to display it on mouseover event.But I do not know why it is not working! Can you please take a look at following spinets and let me know what I …

Member Avatar for stbuchok
0
228
Member Avatar for vistriv5

Dear all I am creating a web application for my company. My application has a button and a textbox. What I want to do is entering some value into the textbox and then when i click the button the application will process the value based on the input in the …

Member Avatar for kvprajapati
0
205
Member Avatar for vlowe

Hi, thanks for looking! I am trying to replicate a mouseover image swap feature on multiple images like on this site - [url]http://www.togsandclogs.com/latest-arrivals-12-w.asp[/url] I have found some image swap scripts but finding it difficult to find something i can implement for multiple images as above. The below works ok for …

Member Avatar for vlowe
0
377
Member Avatar for 3thal

I have a problem with the following code , i put try ... catch around if statement , and display this error message : 'Question1' is undefined ! [CODE]<html> <head> <title> Online Quiz </title> <script type="text/JavaScript"> function checkAnswer(){ var correctAnswers=0; var errorAnswers=0; document.writeln("The Result : "); try{ if(Question1.Q1[1].checked){ document.writeln("Q1 : …

Member Avatar for stbuchok
0
180
Member Avatar for jain4

Hello There, I have a code for validation in a form in Html. The javascript works perfectly in IE, but doesnt work in firefox. The code is as follows: [CODE] <script type="text/javascript"> function Validate_contact() { var status; var err=''; if(document.getElementById('EFirstname').value == '') { err+='Please Enter Your First Name'; err+='\n'; status …

Member Avatar for jain4
0
209
Member Avatar for opjjuly

hey guys, i have quiet a number of .css and .js files on my website <head></head> pages. how do i compress them with gzip?

Member Avatar for opjjuly
0
895

The End.