15,121 Topics
| |
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 … | |
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 … | |
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; … | |
var allchk = document.getElementsByName("contacts") what is "contacts" in above line | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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> … | |
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++) … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
hello i only want to reshresh a part of a page <?php include 'index.php'; ?> is this possible ? Thank you | |
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" … | |
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 … | |
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 … | |
I have PHP page and i am trying user can update phone number when click on EDIT button. For that i created 1 button and when user click on EDIT the button changed to SAVE and now user enter phone number and press save button. Now user click save button … | |
I'm trying to switch which paragraph is showing with this snippet, by finding the specific paragraph id and switching it's class. But somehow the classes aren't switching. I suspect syntax issues, but I don't know what I'm missing. <script> $(document).ready(function(){ $('#residence_features,#the_kitchens,#master_bath,#guest_powder,#bathrooms,#notes').click(function(){ $('.feature_subnav').removeClass('features_selected'); // side nav $('.feature_paragraphs').removeClass('graph_selected'); // first remove all … |
The End.