1,694 Topics

Member Avatar for
Member Avatar for blivori

I am trying to search through a JSON file and display only the result matching the input form. When I click the 'Search' button, nothing happens. How can I resolve this? This is the code: <div id="search"> <form name="input" action="search()" method="get"> Search: <input id = "searchField" type="text" name="search"> <input type="button" …

Member Avatar for theHop
0
173
Member Avatar for singularity~

I have jQuery, jQuery Mobile and jQuery-UI included in my MVC4 project. I am having a problem where the jQuery-UI script only loads if the page is refreshed, otherwise the jQuery-UI will not load initially. I have tried moving the include script to the bottom of the page instead of …

Member Avatar for LastMitch
0
189
Member Avatar for Rajthilak24

Any way to show "printed success" message in website after printing completed in printing machine? I need to implement this function in my client website using either .Net, jquery, java script. CONDITION: The data displayed in grid with "print" option when user click the "print" the default browser print dialog …

Member Avatar for caperjack
0
72
Member Avatar for mattster

Hi folks, I am aware this is a problem that many people have, but I am yet to find an answer... I have a 10x10 grid generated using a html `<table>`, each cell has an id reffering to its location (ie. #15 - row 1, colmn 5). All I need …

Member Avatar for LastMitch
0
359
Member Avatar for nacedo

I have this chunk of jQuery that is doing strange behavior. When I load the page, my list is slided Up (completely folded) wich make sense. But I have to double click each parent to slide them down, which is not the normal behavior. I think this line is the …

Member Avatar for nacedo
0
1K
Member Avatar for leandros.ioannou

Hi i have an issue using top to bottom plugin, while it works, the problem is that the image is visible only on top and while i scroll down the image stays top. Below is the code: <html> <head> <style> #main { float:left; width:500px; background:#c9c; } #sidebar { position: fixed; …

Member Avatar for leandros.ioannou
0
328
Member Avatar for blivori

Hi, Can anyone tell me why no 'products' are being displayed from the JSON file? This is my code: products.html: <!DOCTYPE html> <html> <head> <meta content="text/html;charset=utf-8" http-equiv="Content-Type"> <meta content="utf-8" http-equiv="encoding"> <style>img{ height: 100px; float: left; }</style> <link rel="stylesheet" type="text/css" href="style.css"> <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script> $.getJSON('products.json', function(data) { $.each(data.products, function(i, item) { …

Member Avatar for pritaeas
0
358
Member Avatar for rexmatthew

Can anyone help me? I'm trying to gat my reservation calendar working with jquery tabs. Everything else works exept for this reservation calendar. When I remove the javascript from the header, the calendar works just fine but the tabs disappears... Can anyone please help...? <div class="reservationbox"> <div class="reservation_calendar" id="reservation_calendars"></div> <div …

Member Avatar for annaharris
0
243
Member Avatar for allifields

Hi, so I have developed a top fixed navigation bar at the top of a webpage. How do I incorporate a fading navigation bar so that when I scroll down, the fixed bar turns from black to a certain opacity level? Is that something incorporating jquery? And if possible, if …

Member Avatar for Dani
0
969
Member Avatar for chr.s

In order to make my AJAX functionality a little more efficient I've added a cache component; but this has given me a huge new headache. The AJAX related code is below. It listens for a click and checks if the user has already clicked that link. If not, it'll fetch …

Member Avatar for chr.s
0
295
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 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
295
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
7K
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
263
Member Avatar for singularity~

I have declared a local variable inside of getAddress. When I try to access that variable inside a local function it falls outside its scope. What am I doing wrong? function getAddress(latlon, map) { var data = ""; $("#map-canvas").gmap3({ marker: { latLng: latlon, options:{ draggable:false, }, }, getaddress:{ latLng: latlon, …

Member Avatar for singularity~
0
267
Member Avatar for samith.dilhara

how to keep same tab highlighting after refreshing the page(page is refreshed after the paging link clicked.) <script type="text/javascript"> /**this is for tab highliting*/ $(document).ready(function(){ var str=location.href.toLowerCase(); $(".navigation li a").each(function() { if (str.indexOf(this.href.toLowerCase()) > -1 ) { $("li.highlight").removeClass("highlight"); $(this).parent().addClass("highlight"); } }); }) /**this is for paging highliting*/ $(document).ready(function(){ var str=location.href.toLowerCase(); …

Member Avatar for LastMitch
0
135
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. Couple of things which i'm not sure how to implement are: wherever i have added class "unchecked" …

Member Avatar for Amit_15
0
229
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 LastMitch
0
218
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 LastMitch
0
234
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
287
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 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 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
245
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 LastMitch
0
108
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
193
Member Avatar for cgull

I am using codeigniter 2.1.2 and Bootstrap. I am opening a form in a modal window. The form is inside a div with id status. The form has a few input fields and an upload file field. I am trying to submit the form with ajaxForm. In my controller I …

Member Avatar for cgull
0
1K
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 paulnamroud

Hello, This is my first experience with C# Web Service & AJAX ... I would like to build a page like Facebook that will load the next set of records when we scroll down ... I'm trying to use the code but it's not working at all ... Can you …

Member Avatar for paulnamroud
0
329
Member Avatar for navp

Whats up people So i have been trying to figure out how can i make the background be the size as the content. I am using a canvas as a background. Since i am making a j-query mobile, the content is not alot and the background goes below the footer …

Member Avatar for navp
0
239
Member Avatar for winbala5

Hi all gud morning > I try in to implement table with pagination. Am using Jquery data table. In data table i have problem loading all data from database so time dealy more. so i want to implement in Ajax, jquery, Mysql. kindly gudience to me.

Member Avatar for pixelsoul
0
77

The End.