jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for azapovjednik

Hello, I have a question and I thank everyone for helping me in advance. I am using Visual Studio 2010, ASP.NET and C#. I have a table in SQL server DB. Server page (news.aspx.cs) is collecting all the data from the table (`select * from news`). Using `container.Controls.Add(new LiteralControl(news.ToString()));` I …

Member Avatar for Member #949455
0
241
Member Avatar for Sean_d

I've got 5 images that I want to display one after the other with a time delay, e.g. image one displayed 0.5 seconds image two displayed 0.5 seconds image three displayed At the moment the HTML looks like this: [CODE]<div id="header"> <img id="headerImage0" src=""> <img id="headerImage1" src=""> <img id="headerImage2" src=""> …

Member Avatar for griff122
0
509
Member Avatar for 7429EEFC

Hi I am trying to link a selected item from one listbox to display all the results in another listbox by using a filter method (Or something similar). Both listboxes are filled with information from a text file. The first listbox has information such as the different Genres of a …

Member Avatar for tinstaafl
0
544
Member Avatar for still_learning

Hi guys, I am working on a webpage which holds 2 different html forms. One of them is a radio button form and the other one is a drop down menu. I also have two links on the page. I want to make it so that when someone clicks on …

Member Avatar for xdpi
0
4K
Member Avatar for milkman93

Hey Fellas, I'm working on a project where I would like, once the picture is clicked, to be displayed in a dynamic "popup" manner. Example: http://www.freshlysqueezed.ca/index.php?r=web/content&id=3 . If you click the items, the pictures pop up in a smooth and good looking way. Where I need your help is to …

Member Avatar for TonyG_cyprus
0
197
Member Avatar for logicaweb

I have a problem with jquery loading because prototype. This is script that I use: <script type="text/javascript" src="prototype.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script> ... .. .. <script language="javascript"> function show(obj,msg){ messageBox.style.top=obj.offsetTop messageBox.style.left=obj.offsetLeft+obj.offsetWidth+5 contents.innerHTML=msg+"<p>"+obj.href messageBox.style.display="block" } </script> Between "..." I have a few more jquery scripts that working without conflict with prototype.js because I …

Member Avatar for Member #949455
0
250
Member Avatar for accra

Hi all, am trying to add an html form to a lightbox with no success. Here is my code: <a href="service_form.php" rel="lightbox"> <input name='input' type='' class='btn-primary' value='Add a Service Tag' rel='lightbox'> </a> Note: I have been able to add an image with the same code and it works fine,so the …

Member Avatar for Member #949455
0
624
Member Avatar for inheaven

I need to get data from a [site][1] programatically using [WebClient][2] in ASP.NET. [This website][3] loads data by sending an `ASP.NET Ajax` request (using `ASP.NET ScriptManager`) to the server. Try selecting an geographical state and then click show on the page. Paging operations are also performed using ASP.NET Ajax. I …

Member Avatar for Member #949455
0
428
Member Avatar for Paulxh

I am trying to change the order of the stack using z-index. as my HTML, CSS and javascript function show in the code below. The three tables are all read into the same location, with only the last table being printed on the screen, since all tables use a white …

Member Avatar for Paulxh
0
2K
Member Avatar for Martin C++

Hello, I have a small problem with my script. The ajax calls php file but it wont finsih successfully. Instead it goes to error: callback. My javascript part: function updateUserlist(){ $.ajax({ type: "POST", url: "process.php", data: {"function": "userList", "n_users": n_users}, dataType: "json", success: function(data){ console.log("Updating..."); $("#users-list ul").append("<li>"+data.text['nickname']+"</li>"); n_users = data.numUsers; …

Member Avatar for Martin C++
0
187
Member Avatar for Jollyyy100

Is it possible to merge both the 2 element below so that they work on a single page. What i mean is this should be the background of the page: http://tympanus.net/Development/AnimatedResponsiveImageGrid/index3.html and a slideout contact form can appear at the corner over the background: http://www.building58.com/examples/tabSlideOut.html Is it possible, how?

Member Avatar for Jollyyy100
0
338
Member Avatar for coolrosy

it is possible to write more than one ajax request on a single page?can any one help me?thanks in advance

Member Avatar for Member #120589
0
141
Member Avatar for Venter

Actually The the this is i have to generate input text fields dynamically by using jquery..i see an blog.But i'm Not aware with jquery. Can You Please Help On it...[Click Here](http://www.saaraan.com/2013/03/addremove-input-fields-dynamically-with-jquery). I have to add & delete the text fields dynamically...

Member Avatar for IIM
0
71
Member Avatar for rsridhar420

var allchk = document.getElementsByName("contacts") what is "contacts" in above line

Member Avatar for IIM
0
149
Member Avatar for jelly46

I found this great tutorial http://bavotasan.com/2009/creating-a-jquery-mouseover-fade-effect/ Its easy to follow but i am getting stuck with the JS because i want to have more than one image on the page. Can someone assist.

Member Avatar for stultuske
0
64
Member Avatar for ktsangop

Hello everyone! I would like some suggestions on picking a game development technology/language. My requirements are : 1) On line / Web based game only 2) 2d animation only (for the time being). Using mostly sprites and modelling only simple 2d shapes. 3) No need for an advanced physics engine. …

Member Avatar for ktsangop
0
368
Member Avatar for rolanduk

Hy All I run a PPD website, so the members have to complete a survey before they can download a file. But after the survey they got this error, please see the pics. http://filemonster.org/images/97f448bf6398174f45e04ffc8ac964bb.png I didnt edit anything and check the file structure and didnt see any bad coding. I …

Member Avatar for rolanduk
0
458
Member Avatar for shrutib

Hello All, I have list of DropDownList of items fetching from database, all have values of 1,2 and 3... DropDownList1 has a selected value of 1 DropDownList2 has a selected value of 3 DropDownList3 has a selected value of 2 What I want is to swap values. It's urgent please …

Member Avatar for shrutib
0
448
Member Avatar for utchia

hi, i am have made a button, and everytime i click it it takes a value from my input box, and it subtracts it and stores it back into the input box value. but what i am trying to do is, store my value into an array or anything everything …

Member Avatar for paulkd
0
249
Member Avatar for Kert

I have an HTML page that makes a query to SQL database when clicking on button "OTSI". My problem is that after populating the table with the data, I cant sort it anymore. I am using a standard tablesorter library ([TableSorter](http://tablesorter.com/docs/)). Here is the page making the query: [page with …

Member Avatar for radhakrishna.p
0
332
Member Avatar for momonq1990

</head> Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <body> <script type="text/javascript"> function show_confirm($uid) { var r=confirm("Press a button!"); if (r==true) { <?php header(location: sample.php?id=$uid)?> } else { alert("You pressed Cancel!"); } } </script> </head> <body> <input type="button" onclick="show_confirm($uid)" value="delete command " …

Member Avatar for masterjiraya
0
312
Member Avatar for skdurgesh

hi my interface has spry tabbed panels each in its own form, my problem is whenever i submit data on any of the panels in a form, my page reloads with focus on the first panel(index 0). tried javascript all methods. I need to submit on my search button and …

Member Avatar for Member #949455
0
93
Member Avatar for phfilly

Hi all! I have a problem that I've been struggling with for quite sometime. In short I've successfully parsed a xml file from a string. But I can't seem to access the correct elements. The thing is I'm reading the xml file data via javascript but in the xml file …

Member Avatar for phfilly
0
4K
Member Avatar for Mrewan79

This is the message I get within the document.write output ("document.write(bodytype);") [objectHTMLSelectElement] This is my attempt to get a value from the dropdownbox; var bodytype=document.getElementById("bodytype"); document.getElementById("bodytype").value=bodytype.options[bodytype.selectedIndex].text; This is the dropdown box code that it's meant to come from; <select id="bodytype" name="bodytype"> <option>fat</option> <option>lean</option> <option>slender</option> <option>short</option> <option>tall</option> </select> It's printing what …

Member Avatar for IIM
0
150
Member Avatar for sharon.chapman7

Hi, I have an asp html page that allows the user to input data into a web page. When they click the submit button it calls a default.aspx.vb. The ISPostback is always false so it skips my sql add parameters. Here is the code: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="default.aspx.vb" Inherits="_default" …

Member Avatar for nicz17
0
300
Member Avatar for ahmedhamdy

javascript code : $("input#input_field[name=brithday]").datepicker({ dateFormat: 'dd-M-yy', showAnim: 'slide', changeMonth: true, changeYear: true, yearRange: '1990:2020' }); jsp code : <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Profile</title> <link rel="stylesheet" href="css/style.css" type="text/css"> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" /> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script> <script type="text/javascript" src="JS/javascript.js"></script> </head> <body> <% %> <div> <div class="blackDiv"> </div> <div class="whiteDiv"> …

Member Avatar for ahmedhamdy
0
470
Member Avatar for jag157

Hi i am trying to geocode tweets to a google map i have all my code in place but it just isnt loading up my tweets its just showing the map here is my html code can anyone tell me where i am going wrong thanks <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for Member #949455
0
235
Member Avatar for chr.s

I'm trying to extract an element's children from an AJAX call, but am having difficulty isolating it. My code is as follows: function AJAXcomplete(data){ var result = $(data).find('#productDetails > *'); jQ('#productDetails').append(result); }; function getDetails(e){ e.preventDefault(); var addy = jQ(this).attr("href"); jQ('body').append('<div id="productDetails"></div>'); jQ('#productDetails').show(); $.get(addy, AJAXcomplete); }; jQ('#slides').on('click', '.slideLink', getDetails); The above …

Member Avatar for chr.s
0
257
Member Avatar for ndeniche

Hey guys. I would like to know, which js library do you prefer when designing websites that implement the parallax effect and why. Which one suits you better and why? I'm new to this effect (it took me quite i while, I know), and I'd like to know your oppinions …

Member Avatar for ndeniche
1
277
Member Avatar for milkman93

Hey Fellas, I created 10 JTextFields using and ArrayLists: `ArrayList<JTextField> textFArray = new ArrayList<>();` textFArray.add(new JTextField()); gbc.gridx = 1; for (int i = 0; i < 10; i++) { gbc.gridy++; add(textFArray.get(i), gbc); textFArray.add(new JTextField(i)); } What I need to do: I need to get the values of what ever the …

Member Avatar for JamesCherrill
0
332
Member Avatar for Gloak

I am designing my very own first web page. It's a real estate page where some users will add open house information while others can pull the info out. The code for the database and the web is very good (after two months...) and inserting and getting data is sweet. …

Member Avatar for Member #949455
0
1K
Member Avatar for shyleshs

hi friends, I have a problem Requirement * Weekends should be disabled. * Disable past days * specific date should be disabled So I used jqueery datepicker **Registerdate is ID of the textbox** <tr> <td> <asp:Label ID="Label7" runat="server" Text="Register date : " Font-Bold="True"> </asp:Label> </td> <td> <asp:TextBox ID="Registerdate" runat="server" Width="150px"></asp:TextBox> …

Member Avatar for Member #949455
0
269
Member Avatar for peymankop

Hi...! I was working on a basic chess game it shows the possible move for each of the piece that you've selected. I uploaded the file in [This](http://www.mediafire.com/?4lhwjbu2ahbfl14) link : When you click on a button form title is the postion of the button you've selected but i don't know …

Member Avatar for peymankop
0
472
Member Avatar for shrutib

Hello All, I am having the drop down list with count 1 to 10 which is looped for itemlist. For item 1 dropdown list shows count 1 to 10,item 2 also dropdown list shows count 1 to 10 and so on. I want to preset the value for the drop …

Member Avatar for Webville312
0
125
Member Avatar for nstrazimiri

Hello. i load data from a data.json file. each div named content shows contetn[i] from the json file. but i dont want all of this to be shown. i want only the the hovered div to be shown.but this code doesnt work.any help ? $.getJSON('data.json', function(data) { for (var i=0;i<18;i++) …

Member Avatar for minitauros
0
168
Member Avatar for Venter

<html> <head> <script> function change(x) { var str=x; <?php $name=?>str; } </script> <?php echo $name; </head> <body> <form> <select name="customers" onchange=change('this.value')> <option>Varma</option> <option>Phani Varma</option> <option>Prabhas Varma</option> <option>Kishore Varma</option> </select> </form> </body> </html> so when ever user change the select,the value should be passed to php & it must be echoed …

Member Avatar for minitauros
0
284
Member Avatar for Venter

<html> <head> <script> function change(x) { var str=x; <?php $name=?>str; } </script> <?php echo $name; </head> <body> <form> <select name="customers" onchange=change('this.value')> <option>Varma</option> <option>Phani Varma</option> <option>Prabhas Varma</option> <option>Kishore Varma</option> </select> </form> </body> </html> so when ever user change the select,the value should be passed to php & it must be echoed …

Member Avatar for radhakrishna.p
0
257
Member Avatar for Member #719716

I'm in the end stages of my program and everything is running fine, all i need to do now is create some data validation for my form. I've dabbled around and have figures out how to validate textboxes but am not sure how to validate my drop down boxes. So …

Member Avatar for radhakrishna.p
0
168
Member Avatar for Awah Mohamed

hi guys, how are you all? well, i am participating in the google's science fair and my question is: how can we make social networks student friendly? and my aim is to make a social network that can be student friendly and also as professional as other social networks in …

Member Avatar for Member #949455
0
121
Member Avatar for Gloak

Hi, this question is related to http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/189876/populate-text-field-from-drop-down-list Discussions seems to be closed. First of all, thank yor Mr Airshow for the code. With some changes, I could greatly improve my project! Still a few months old in the computer field, but with lots of energy! This question is to whoever …

Member Avatar for Gloak
0
509
Member Avatar for turpentyne

Here's a weird one... I have a toggle for a music file that plays when the site loads. There's a stop/play button on the page as well. On every browser, things work just fine. The music plays, the text says turn off/turn on just as it should. Except Ipad. When …

Member Avatar for Member #949455
0
215
Member Avatar for Vingklippt

I am trying to automatically resize the iframe to fit the content. Works great in chrome, firefox and opera. Fails in Internet Explorer. Ideas? <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Leontinas</title> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> var framefenster = document.getElementsByTagName("iFrame"); var auto_resize_timer = window.setInterval("autoresize_frames()", 20); function autoresize_frames() { for …

Member Avatar for Squidge
0
276
Member Avatar for Venter

<html> <body> <input type="text" name="cname" value="" onkeyup="shownames()"> </body> </html> Finally the thing is when ever user was input the text it should display the name from database dynamically. The user Should have capable to select the name generated from database. I'm Searching for jquery plugins if any one Knows Please …

Member Avatar for paulkd
0
174
Member Avatar for Member #719716

Hi I'm not really sure why this isnt working. Could someone ammend the code so that it is working? cheers <html> <head> <meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org"> <title>Limerick Generator</title> <script type="text/javascript"> function display(f) {//code to get data from List boxes var DirectionSelect = …

Member Avatar for radhakrishna.p
0
243
Member Avatar for SomSamui

I have the follow code. And what I like to have, is, the value from the select1 in the 2. Form, input "girl" value. But I do not know, how to do... I always have an empty value in the 2. form. <?php mysql_connect("localhost:8888", "root", "root") or die("Connection Failed"); mysql_select_db("usr_web202_9")or …

Member Avatar for SomSamui
0
249
Member Avatar for tAALz

I'm looking for something like this [Click Here](http://screencast.com/t/gTJFzquJ) Lets say I have bucket A of items: * Name * Email * Phone * City * Country * Sex I have another bucket B in which I can put the items of my choice: * Name * Email * Sex I …

Member Avatar for Member #949455
0
118
Member Avatar for Dreamer180

I want to start by saying, I hope this is the way we can ask questions on this site. If Not I am very sorry! Hi guys!! I have been stuck with this issue for a long long time. I am creating a site. But my Search bar is not …

Member Avatar for Member #949455
1
395
Member Avatar for Violet_82

Hi there, I am not entirely sure how to target checkboxes with jquery. I had a look around but the methods indicated don't seem to work for me for whatever reason. Given the following html fragment: ... <form> <input type="checkbox" value="red" name="the_color" checked="checked" id="red"><label for="red">This is red</label><br> <input type="checkbox" value="blue" …

Member Avatar for Member #949455
0
163
Member Avatar for kasse

I´m working on (and now using) the following image gallery on my website. There's no bell's and whistles just the basic utilities: Forward, backward, start/stop auto, set speed, loading animation. The slideshow as described below is optimized for pictures that are all 400px in height, but you can easily change …

Member Avatar for Member #949455
1
453
Member Avatar for nstrazimiri

hi everyone. i have a data.json file where i have stored many fields. i want to display only 10 of them in a div with id news.this loop shows all of them. any help how can i realize it ? $(function() { $.getJSON('data.json', function(data) { $.each(data, function(i, f) { var …

Member Avatar for Nomorewine
0
102

The End.