14,053 Topics

Member Avatar for
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
298
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 LastMitch
0
88
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
143
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 LastMitch
0
209
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
241
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
246
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 LastMitch
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 LastMitch
0
246
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
153
Member Avatar for ChargrO

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
139
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 LastMitch
0
113
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
384
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 LastMitch
0
198
Member Avatar for ChargrO

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
224
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 LastMitch
1
370
Member Avatar for Tko_1

hello i only want to reshresh a part of a page <?php include 'index.php'; ?> is this possible ? Thank you

Member Avatar for LastMitch
0
70
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 LastMitch
0
146
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 LastMitch
1
370
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
95
Member Avatar for turpentyne

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 …

Member Avatar for JorgeM
0
58
Member Avatar for jspence29

I can't figure out why my nivo slider is not showing, the link to the jsbin is here http://jsbin.com/opucok/4/edit. I followed the directions in the nivo website exactly, and the slider works when it isn't with the rest of my html and css code.

Member Avatar for pixelsoul
0
196
Member Avatar for subhashini.sathish.12

Hi I am new to programming. i have some doubts in JavaScript. I have Java language in my computer, can I develop the javascript in java language or Javascript has any language?

Member Avatar for IIM
0
127
Member Avatar for silvercats

LEt's say there a certain phone number format. If someone types the correct format,it shows ok,if not it shows an error. I have done this but it only checks after user moves to the next textfield (onblur action). is there something like 'onButtonPress' or something

Member Avatar for radhakrishna.p
0
159
Member Avatar for darylglenng

<html> <title>application</title> <style type= text/css> <!-- style1 font-family: Arial, Helvetica, sans-serif; color: =00000000; } --> </style> <head><script language="JavaScript">{ function upper( field ) { field.value = field.value.toUppercase(); } <!-- function validate() { var good = true; with( document.theForm ) { if( id.value =="") { alert("Please provide a student number combination of …

Member Avatar for radhakrishna.p
0
211
Member Avatar for pratham3090

Not able to drag down baloonpopup extender in ASP.NET It shows black circle with line. (not allowing to drag on form) but when i drag it on text box it work but when i run the page textbox diappears. please help and also tell how to use baloonpopup extender.

Member Avatar for pratham3090
0
150
Member Avatar for cgull

Hello, I am trying to create a menu that slides up when a button is clicked. I looked at a lot of tutorials of animate and slide but nothing works for me. I hope someone can help. What I need is a button that says: Click for Menu and when …

Member Avatar for cgull
0
205
Member Avatar for vizz

I'm using **[Ascensor.js](http://kirkas.ch/ascensor)**. I need to detect which div section is visible in window to add animation effects to elements inside that visible div. For following code, <div id="ascensorBuilding"> <section> //floor one content here </section> </div> I'm using my code, <div id="wrapper"> <div class="section about" id="about"> </div> <div class="section home" …

Member Avatar for imBaCodes
0
504
Member Avatar for sonicx2218

So I found this neat js for my site to make the video system much more streamlined. I was wondering if anyone knew how to change the carousel.js in the code, so that instead of circling around a few thumbnails, instead there would be a grid system of thumbnails underneath. …

Member Avatar for imBaCodes
0
255
Member Avatar for nHulk

"httpError: The Http Transport returned a 0 status code. This is usually the result of mixing ajax and full requests. This is usually undesired, for both performance and data integrity reasons." I am getting this error in my web page form... how to get rid of this message ............

Member Avatar for LastMitch
0
403

The End.