15,119 Topics

Member Avatar for
Member Avatar for brood_snow

A list of courses is displayed and user has to select 1, so I used radio buttons. The course list vary from one student to another. If I have more than 1 courses displayed and user selects one, everything is ok, but if I display 1 course, the test is …

Member Avatar for LastMitch
0
321
Member Avatar for jinxmc

hi, how to write javascript code to validate first 2 textboxes that are generated from databses without "id" "name". eg:here everything comes from databse. name:<input type="text" id="{id}" name="{id}" class="textbox"/> "+" this feilds are generated with + button from database age:<input type="text" id="{id}" name="{id}" class="textbox"/> this does not have "+" here …

Member Avatar for IIM
0
480
Member Avatar for elbeato

I'm having trouble with cross-browser compatibilty with a jQuery click function. I want it to return the width of #bbox and have it play the animations based on what it returns. I have set the width of #bbox to 0px in my CSS as the starting state. THE PROBLEM: w …

Member Avatar for pixelsoul
0
786
Member Avatar for McLaren

I have revencly experimented with backbone, but did not use in real project yet. WHen I have oportunity I will try at work. Now considering what to study next. I hear lot of node.js is cool. But really don't understand why should I learn it. I tried googling, reading stackoverflow …

Member Avatar for McLaren
0
125
Member Avatar for aijaz110

i am creating website in that site i have to run news alert through javascript through event mouseover and mouseout plz help me how to perform that task in javascript?

Member Avatar for IIM
0
143
Member Avatar for turpentyne

I have navigation, with a dropdown subnav that gives them two options (level 6 and level 10). If they click on one or the other, it loads "views.php" then uses .html to write the correct information to sections. The img src portion isn't working??? I also tried just using .html …

Member Avatar for EvolutionFallen
0
311
Member Avatar for resant

Hi all, I want to know is it possible if I want to create a JavaScript function that when user choose menu to print a web page from the browser (not from a print button that is created) and at the same time get that print date and update to …

Member Avatar for Troy III
0
295
Member Avatar for turpentyne

I have a div that appears under a link (similar to a subnav) when that link is moused over. I want the div to fade, if they've moused away from the link UNLESS they've moused over the div. But my attempt failed: $('.tnav-views').live("mouseleave", function(event){ var timer = setTimeout(function(){ $("#view_levels_subnav").hide(); // …

Member Avatar for pixelsoul
0
99
Member Avatar for jinxmc

Hi, i am new to javascript i have requirement where <div> name:<input type="text" name="name"/> age:<input type="text" name="age"/> <input type="button" value="add"/> </div> when i click on add button it should add one set that is both name and age textbox, one add click 2 textboxes name and age with label. like …

Member Avatar for codersempire
0
2K
Member Avatar for garyjohnson

I have a website that has 2 jquery sliders. This webisite works perfectly fine with both of them. I then created another site with the same exact code for 2 jquery sliders and this site will only run one slider and I can't find the problem! This is the html …

Member Avatar for garyjohnson
0
299
Member Avatar for Olagoke

Guys please, i really need your help real urgently. I've search the web times without number but couldnt get anything tangible. I have a php loop like this . 'While($row=mysql_fetch_array($dbquery)){$username=$row['username']; print("<input type='submit' value='$username'>");}' now i have a jquery code to select each value contained in the hidden input 'var x=$("input").attr('value');' …

Member Avatar for pixelsoul
0
210
Member Avatar for turpentyne

I have a strange little glitch only on Ipad and I'm not sure what causes it. I have some simple code on the page to load a new php file when they select a menu item. The first choice loads to the page, when they user arrives. If they click …

Member Avatar for pixelsoul
0
138
Member Avatar for espil

I have the following code: <div id="leftDiv" style="float:left; height: 300px; width: 420px;background-color:transparent; position: relative"> <div style="position:absolute; left:141px; top:180px; width: 319px; z-index:1"><b><%=tmpJsonValue2 %></b></div> <div style="position:absolute; left:320px; top:180px; width: 319px; z-index:1"><b><%=tmpJsonValue9 %></b></div> <img id="leftImg" style="width:100%; height:100%; z-index:-1; right: 1124px; top: 9px;" src= "xxx.jpg" /> </div> Which displays an image and on top …

Member Avatar for theHop
0
252
Member Avatar for lmthuan

Hi all, i want to write an http-proxy progam by node.js that can store cache on my disk , so, how can i do ? thank !

Member Avatar for LastMitch
0
87
Member Avatar for ska_defender

I am using the following code for playlist in jwplayer as shown in this page http://www.longtailvideo.com/blog/20697/jw-player-57-all-about-html5-playlists <div id="html5playlist"></div> <script type="text/javascript"> jwplayer("html5playlist").setup({ modes: [ { type: "html5" }, { type: "flash", src: "http://player.longtailvideo.com/player.swf" } ], playlist: [ { levels: [ { file: "http://content.bitsontherun.com/videos/bkaovAYt-364766.mp4" }, { file: "http://content.bitsontherun.com/videos/bkaovAYt-1287469.webm" } ], image: "http://content.bitsontherun.com/thumbs/bkaovAYt-480.jpg", …

Member Avatar for LastMitch
0
245
Member Avatar for amith_ami

hi all.. i'm trying to get the next page content inside the <ol> tag to append within the current page <ol> tag... given below is the jquery i'm using... when i use alert "next_page" its showing the next page's link.. but its not loading the next page content in the …

Member Avatar for LastMitch
0
320
Member Avatar for theguitarist

hi. I'm working on a project where I must observe form submissions in websites and detect a search engine if a form is used consistently. I don't really want any help with coding this. I just want some ideas for an algorithm. Like, **for example** if I were to come …

Member Avatar for theguitarist
0
404
Member Avatar for erum

Hi to all .. can any one tell me how to connect json /webserive using .ascx control (use control) .. on button click i want to get data from database

Member Avatar for erum
0
139
Member Avatar for rajhoq12
Member Avatar for JorgeM
0
129
Member Avatar for asif49

Im using the DomNodeInserted event listener (attached to the document) and on each fire of the event I retrieve the added node within the dom using: event.relatedNode But when I try to use functions like: $(event.relatedNode).html($(event.relatedNode).html().replace(/a/g, "i")); I've also tried the above without the prefixed $ before event.relatedNode but to …

Member Avatar for Troy III
0
230
Member Avatar for milkman93

Hey Everyone, I am trying to create login page where if the user doesn't enter a value into the username and password textfields a box fades in (JQuery function) telling the user to enter info. I know I can just add the `required = "required"` to the input tag, but …

Member Avatar for milkman93
0
8K
Member Avatar for yap.junjie.7

I want to let user to choose the colour of the border, the background and the background image. How can I do that? What I want is like the user choose blue from a dropdown list then this code below will change to the relative colour and image. .ui-widget-header { …

Member Avatar for JorgeM
0
318
Member Avatar for Amit_15

I have created a elevator functionality [there are 2 floors and corresponding to each one , there is a checkbox. Depending upon which checkbox is checked, the elevator shud move to that floor. Only thing which i am not able to implement here is: Make the checkbox check automatically and …

Member Avatar for theHop
0
264
Member Avatar for McLaren

//$('tr[id^=system_type_] input').live('change', function() { $('tr[id^=system_type_] input').on('change', function() { alert('a'); console.log($(this).val()); }); its not the first time, but I read that live is deprecated so I want to use on. But why it does not work in this code?

Member Avatar for paulkd
0
149
Member Avatar for Katik14

I've to make a program in javascript which would take an integer from the user it can be negative or positive but if user insert a decimal number or a character so this program should display an error message. Can anyone help me jow to do it.

Member Avatar for Troy III
-1
127
Member Avatar for amit.chaudhari.71

hi friends i have develpoed a prog. for pay calculation for my office in php. now i want to show some thing like employee name in my pge which is currently processing or progress bar with persent if calcution has done. plz note i m useing POST methord

Member Avatar for amit.chaudhari.71
0
348
Member Avatar for asif49

Consider you have to write some javascript/jquery which is to be run on a multitude of websites and you need to be informed on updates made to the page's content (reason is not important). For instance, everytime a few new elements are added to the page you need to be …

Member Avatar for stbuchok
0
163
Member Avatar for mlowe

[Click Here](http://www.jrjinc.com/project-portfolio-retail.php) I've added 8 pictures to the existing image gallery, using the same format as the existing images. When an image is clicked the originals show but the new ones don't even though they are counted in the image totals. Is there another file I need to edit to …

Member Avatar for mlowe
0
289
Member Avatar for Valten1992

Basically I have a java application that can display the data it outputs onto a webpage. I have a div containing tables, each table representing one java object and its values, after a period of time I want AJAX to refresh that div with the new data. Problem, I'm using …

Member Avatar for darshit9u
0
705
Member Avatar for sobias

I'm currently taking a course where I'm required to work on a Javascript/HTML5 or CSS projects. I have a month from now till the deadline. I'm thinking of making a Javascript/HTML5 simple game. Before I start on anything, I would like to hear from you, what would be the most …

Member Avatar for stbuchok
0
306

The End.