15,119 Topics
| |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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(); // … | |
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 … | |
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 … | |
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');' … | |
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 … | |
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 … | |
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 ! | |
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", … | |
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 … | |
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 … | |
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 | |
Without change textarea to input the virtual keyboard is bot working | |
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 … | |
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 … | |
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 { … | |
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 … | |
//$('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? | |
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. | |
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 | |
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 … | |
[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 … | |
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 … | |
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 … |
The End.