2,533 Topics
![]() | |
Im doing a reservation site for a project. And Im trying to disable radio button(s) if the sql statement returns true. Example: User selects a date and a time, and radio button(s) would be disable depending on database. So far, I have this: $result=mysqli_query($mysqli,"SELECT tableselect FROM reserve WHERE reserveDate = … | |
I have the following script: $(function () { var tabContainers = $('div.tabs > div'); tabContainers.hide().filter(':first').show(); $(window).bind('hashchange', function () { var hash = window.location.hash || '[b][b]#[/b][/b]first'; tabContainers.hide(); tabContainers.filter(hash).show(); $('div.tabs ul.tabNavigation a').removeClass('selected'); $('a[hash=' + hash + ']').addClass('selected'); }); $(window).trigger( "hashchange" ); }); <div class="tabs"> <ul class="tabNavigation"> <a href="#first" class="selected">First</a> <a href="#second" class="">Second</a> … ![]() | |
I made three image hotspots on an image called Tab1. I want to click on each of them so it shows an UI next to Tab1. I used the jQuery example off their website since it's close to what I want, but what do I do when I want another … ![]() | |
I have a jquery code below which I am using to try to get a html form that is displaied in a lightbox on a webpage to post to a php page my issue seems to be that when I click the "save" button it is not executing the jquery … | |
Hi, I have the following code for a potential handlbars.js tmpl. It compiles correctly at tryhandlebarsjs.com however when I attempt to open the file independently in a browser the default text in the div is the only thing that renders. I know my .json call is wrong but I cannot … | |
![]() | Hi All, Just to say that I've searched DW and Google extensively before posting here. Also looked at the jQuery site, but failed to find exactly what I'm looking for. Anyway here's the thing: I have a button on a form, that when it's pressed inserts some new inputs (textboxes) … ![]() |
I am working on a project which is having jquery driven menus.but it is not working- the code is $(function(){ $('a#home').click(function(b){ b.preventDefault(); $.cookie('class','home'); }); $('a#write').click(function(c){ c.preventDefault(); $.cookie('class','write'); }); $('a#comments').click(function(d){ d.preventDefault(); $.cookie('class','comments'); }); $('a#medias').click(function(e){ e.preventDefault(); $.cookie('class','medias'); }); $('a#users').click(function(f){ f.preventDefault(); $.cookie('class','users'); }); $('a#stats').click(function(g){ g.preventDefault(); $.cookie('class','stats'); }); $('a#settings').click(function(h){ h.preventDefault(); $.cookie('class','settings'); }); $('a#backup').click(function(i){ i.preventDefault(); … ![]() | |
![]() | I'm attempting to make a web-based scheduling system, but I'm having trouble figuring out how to make it work in the best manner. First, the current table structure: **shifts** Shift_ID (pk) Event_ID (fk) Dept_ID (fk) Start End **shifts_assigned** Entry_ID (pk) Shift_ID (fk) User_ID (fk) DateAssigned Position Notes Where pk is … ![]() |
Is creating mobile apps with Jquery mobile a good technology..? Is it in trend..Please i am a newbie to it..tell me the pros and cons of using it..And if not this then what technology should we master if to build mobile apps..All suggestions are welcomed..!! | |
Hey all Im have trouble passing this jquery functions results thru an ajax call. I want this function: $('.sidebar_bookmark_linkrel1').attr('href') to pass as string, any ideas? | |
Ok I dunno why this isn't working. The alert outside the droppable says 0 but the alert inside the droppable says undefined. Anybody have an idea as to why? I want to start keeping a running count to when a person drops an object into the match div. I dont … | |
I have a div, absolutely positioned, originally non-visible that is shown at the position of an element icon (in elements listing) being clicked rendering its preview (top position of the preview is lined to the top of the icon clicked). When the element being clicked is positioned low on the … | |
Hi, I haved a form where elements in a rows can be added by clicking on "Add item". Once the item is added, use can remove that item by clickon on the "remove" link. One of the fileds in the row has integer value and I want to added the … | |
Hello Friends, I need your help again sample code `<div id="generic_photo125_addinputs"><ul><li><input type="button"/></li></ul></div>` The above code generated automatically, i like to hide the button inside the li, Now the problem is all the ids, class everything is generated dynamically,so i cant able to target the button based on the selector,Is it … | |
Hello I wish to convert the following jQuery each to fors....This way I can see it a lot clearer.... var draws = this.canvasListener.getDrawManager().getAll(); $j.each(draws, function(index, draw) { var points = draw.getPointManager().getAll(); $j.each(points, function(index, point) { }.bind(this)); } Yes, I know "each" is faster and better optimize but I dont care. … | |
Hello guys, I'm building a website for tablets and i want o add the ability for the user to swipe down to another div. I've found some jquery plugins for this but only for left/right, and from some blogs that jquery doesn't support this ? Is that true and how … | |
Ive created a dropdown box dynamically getting datea from a database but when I try to get (or set) the first value, it always says undefined. Ive tried something like: $j("#mydiv").val(1); var somevariable = $j("#mydiv").val(); console.log ("print it out " + somevariable); And it says print it out undefined If … | |
hi i wnat to send 11 ans using jquery ajax request below is my function tell me how i can send 11 parameter and want to get these 11 values in php i send the request with one parameter and function work successfully tell me how i can send 11 … | |
I am attaching the saved html of a usage report. Basically, it gives you daily usage by date. I needed a better data like the accumulated usage for the month to date of subscription, AND the percentage of quota use ..etc.. I wrote jquery to do that. My first attempt … | |
Hi. I have a select box with the id=1. I need a solution for: when changing the select box with the id=1 to appear another select box with the id=2 and when changing the select box with the id=2 to appear another with the id=3, and so on. I have … | |
I am using jquery.filedrop.js to create a HTML5 drop box for users. Currently I have it working about 2/3s the way I want it to. The company does yearly conferences, and I have a file path 'file/path/to/conferencefiles' where I save media (docs, images, vids, etc) based on the YEAR of … | |
I thought I had this sorted on another website but just can't resolve the problem now. I have a link that when clicked shows a form. The form is submitted through jquery ajax, runs the PHP and updates the html in a div on success. All fine. However, after the … | |
Hi, Am trying to get some data from DB , here am checking whether username is registered or not , if he register am getting some data related to that user and displaying on window . I want function to wait for untill user finish typing his username , then … | |
Greetings! I took some code from this [site](http://osvaldas.info/elegant-css-and-jquery-tooltip-responsive-mobile-friendly). It works great in EVERY browser but IE7 where the arrow of the tooltip is missing. I know that there are issues with IE7 not supporting :after in CSS. I've tried adding this code: <!--[if lt IE 8]> <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js"></script> <![endif]--> But … | |
I am having the form <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script src="form.js"></script> </head> <? mysql_connect('localhost','root',''); mysql_select_db('test'); $query="SELECT * FROM user"; $result=mysql_query($query); ?> <div id="contact_form"> <form name="contact" action=""> <fieldset> <label for="txn_unit" id="txn_unit">Txn Unit</label> <SELECT name="name" id="name"> <OPTION value="">SELECT</OPTION> <? while($row=mysql_fetch_assoc($result)) { ?> <OPTION value="<? echo $row['id']; ?>"><? echo $row['first_name']; ?></OPTION> <? } … | |
I have a project where my code will have to coexist with code in web pages designed elsewhere. My code will use jQuery, and so there may be an issue if the parent page already runs jQuery (and maybe jQuery plugins). I would have thought the correct thing to do … | |
Hi, im am having a smal issue whereby i am using a highchart api based on jquery to display stats. but the stats are stored statically in a table in html and throught which the graph are shown. Nnow i implemented php/mysql to get the data directly from db. So … | |
Hi there, I am facing some problems in fetching the tags entered into an input field that uses the the jQuery tagManager. <input type="text" name="tags" placeholder="Tags" class="tagManager"/> normally i just have to echo $_POST['tags'] in the PHP form handling part and it gives me the tags but, with class tagmanager … ![]() | |
I don't have much experience with jQuery, so need a small help to build up one navigation menu bar where hover image will float/animate from previous(.current) location. Example: If the hover image remaining under 'HOME' as current page and if i hover/mouseover to 'CONTACT' menu then the 'hover_img' will float(animate) … ![]() | |
My site is www.jeremyspence.net78.net. As you scroll down I want to make the main menu dissapear(the one menu you see now) and another smaller menu (kinda like the apple menu from apple.com) appear on the top that is fixed, I was thinking about making a sticky menu, but I want … |
The End.