2,530 Topics
| |
Hello guys, A few days ago I was looking on the net for a good jquery tabbed navigation – I needed it for a project – and I have to say that what I found wasn’t really what I was hoping for. An awful lot of people seem to be … | |
Hey guys, I've been trying to get this to work. don't know how. <link rel="stylesheet" href="../js2/css/smoothness/jquery-ui-1.10.4.custom.css" type="text/css" /> <script src="js/jquery-1.9.1.js"></script> <script src="../js2/js/jquery-ui-1.10.4.custom.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#box').dialog(); }); </script> <?php echo("<div id='box'> Password changed </div>"); ?> It doesn't workk somehow, can anyone help me? | |
hello friends i have a jquery function who calculate a total of form field in real time (live), the value of field is data from DB table .. it work fine i have add php loop to show all data in table but the jquery function calculate only the first … | |
Hello, today I decided to look into jquery plugins, and with the help of various tutorials I have produce a very simple one that changes the colour of some elements in a page. I would appreciate some help in understanding whether there is something else that I need to do … | |
I have fields in a table that are being constantly updated with the current time (each second). First, the controller calls a function to create the record in the database public function saveEntry($theuser='') { $data = array( 'theuser' => $theuser , 'dateentered' => date('Y-m-d') , //date('d-m-Y H:i:s') , 'gname' => … | |
Hello guys, I am having a problem with a regular expression in my jquery validation. Can someone help me please. The method : $.validator.addMethod( function (value, element) { /^[A-Z]{1}\d{12}[A-Z0-9]{1}$/.test( value ); }, "Invalid NIC." ); An example of the NIC field : L261089652789A or L2610896527897 | |
I'm using Twitter bootstrap 2.0.4 for a website. I have a carousel with a certain number of pictures, which gets created just fine. It starts cycling, the pausing on hovering works, the next and previous buttons all work. Only thing that's odd is that when it reaches the end of … | |
Hi all, I am creating a function, that filters products, that are allready loaded into the DOM. JSFiddle: http://jsfiddle.net/Klemme/8CFVa/2/ Please read on, two get the issue :-) In each product div, I have listet an HTML5 data attribut like this example: data-options="{"brand":"acer","screenSize":"17","processor":"intel","grafik":"intel"}" I have 2 groups of checkboxes working now, … | |
<script type="text/javascript"> var arr = [{ val: 1, text: 'Option 1' }, { val: 2, text: 'Option 2' }]; $(function () { $('a').click(function () { var sel = $('<select>').appendTo('body'); $(arr).each(function () { sel.append($("<option>").val(this.val).text(this.text)); }); $('<br>').insertBefore(sel); $('<input/>').insertAfter(sel); return false; }); }); </script> </head> <body> <a href="">Add Select Box</a> </body> with is … | |
<script type="text/javascript"> $(document).ready(function () { $("#Button6").on('click',function () { $("#Image1").attr('src', 'img/s.jpg'); }); }); </script> <asp:Image ID="Image1" runat="server" Height="284px" Width="284px" src="" style="height:300px;width:300px;left:400px;margin-top:100px;" ClientIDMode="Static"/> | |
Hello! I'm needing some help integrating HighCharts into my CodeIgniter application and getting data from my MySQL database! I've followed a YouTube video on actually integrating HighCharts and it was extremely straightforward. However, that method included a hardcoded array and I'm needing to generate an array from data stored in … | |
Dear pals, I have an online app site which need 11 JS files including jQuery & D3.js files. I need to compress it into a single file and it's easy to use . I check some but need node.js and complex stuffs. I found http://jscompress.com/ but it's not working Application … | |
I have created a responsive site. This site has two menu like main menu and footer menu. I use selectnav.js in main menu for creating a navigation menu. I want to create same navigation menu for footer menu using selectnav.js. But I can’t do that. So, please help to solve … | |
hi, i want ajax to be called only once, but insted it calls everytime when i click on the button. my script: $(document).ready(function(){ $("#modal-launcher-user").click(function(){ $('#preloader_image_edit').show(); $.ajax({ url: "image_edit.php", cache: false, }) .done(function( html ) { $("#preloader_image_edit").hide(); $( "#results_image_edit" ).append( html ); }); }); }); | |
hi there, i have a site which has a jquery datepicker in it. i went onto jquerys site and downloaded the timepicker code and tried to add this in but it is not working. currently my code is: $('.datepicker').datepick({ dateFormat: "dd/mm/yyyy", alignment: 'bottom', showOtherMonths: true, selectOtherMonths: true, renderer: { picker: … | |
Hi Can I use the ajax to update a form feild by get a value of another feild on the same page(without submiting the page). This process involves the mysql as well. | |
<table width="200" border="1" class="form_table"> <tr> <td>Driver:</td> <td><select name="driver" class="driver" id="form_name" > <?php do { ?> <option value="<?php echo $row_Driver['id_driver']?>"><?php echo $row_Driver['driver_fullname']?></option> <?php } while ($row_Driver = mysql_fetch_assoc($Driver)); $rows = mysql_num_rows($Driver); if($rows > 0) { mysql_data_seek($Driver, 0); $row_Driver = mysql_fetch_assoc($Driver); } ?> </select></td> </tr> <tr> <td>Waybill:</td> <td><select name="select" class="waybill" id="form_name" ></select></td> … | |
Hi , I'm developing a HTML page in which user have an option to zoom image two time in the same frame same as [goo.gl/PZweZ9](http://www.goo.gl/PZweZ9) , I search alot but unable to find the same. | |
I have no idea why I cannot get jquery to parse a JSON array from a PHP server side call. Here is my jQuery $.ajax({ type:"POST", url:"/Home/Profile/cb_profile.php", data:{loadProfile: JSON.stringify(itemsToPost)}, success: function(data){ var returnedItem = $.parseJSON(data); }, error: function(e){ console.log("We've had a error"); }, }); Here is my PHP if(isset($_REQUEST['loadProfile'])) { … | |
I have function that creates textareas fields on the fly upon a click on a link I want to convert these textareas into tinymce wysiwyg here is the code $("body").delegate("a.add_tab","click",function(e){ e.preventDefault(); var uniq = $(this).attr("uniqid"); add_tab_ui($(this),uniq); }); function add_tab_ui(elem,uniq){ var content = "<div class='wrapTab'><label >Tab Title:<input type='text' name='tab-title-"+uniq+"' id='tab-title' value='' … | |
hello friends. like the question title i want add function to my jquery script when a user choose a option of select html form field to calculate a totoal price. here is my script and the html form field THE FIELD <option value="0" selected="selected">Shipping</option> <option value="0">0.00</option> <option value="9.80">9.85</option> <option value="19.60">19.80</option> … | |
Good day, I need help with my ajax based dynamic drop down list. Right now, ajax.php pulls up data depending on value at a single column. I need it to pull up data based on value at certain columns. I am new to php and its going over my knowledge. … | |
hello friends i want to creat a calculator in my form for calculate total price in real time for exemple" total field = price field + quantity field" my form is a html form and price value is php value <form action="" method="post" name="formulaireajout" class="formulaireajout" id="formulaireajoutid"> <input name="price" type="text" id="pricefield" … | |
I was wondering if there's a site out there that gives statistics towards the percentage of sites that use jQuery UI? (Note I'm not looking for the actual number of sites nor jQuery itself ... just jQuery UI). I rolled a custom version of jQuery UI that only uses about … | |
Im new in Ajax, i try to learn Ajax to change my PHP script into Ajax,. when i look for an reference, i found a defferent Ajax Script, and Ajax JQuery? so what is deference between AJAX and JQuery? | |
here is the code for menu. (document).ready(function(){ $("#main-nav li a.main-link").hover(function(){ $("#main-nav li a.main-link").removeClass("active"); $(this).addClass("active"); $("#sub-link-bar").animate({ height: "40px" }); $(".sub-links").hide(); $(this).siblings(".sub-links").fadeIn(); }); $("#main-nav").mouseleave(function(){ $("#main-nav li a.main-link").removeClass("active"); $(".sub-links").fadeOut(); $("#sub-link-bar").animate({ height: "10px" }); }); }); HTML code <div id="sub-link-bar"> </div> <div id="wrap"> <div class="roundfg"> <ul id="main-nav"> <li><a class="main-link" href="#">Home</a> <ul class="sub-links"> <li><a class="main-link" … | |
Hi folks I want to universal website crawler using PHP, so my crawler will work on any given site. By using my web application, user will input any site, will provide input, what he needs to get from given site and will click on Start button. Then my web application … | |
how to display errors in jquery dialog box...after validation.When i submit dialog box closes . | |
how to load select box with database fields in [jquery].... | |
Hi all I've created simple javscript gallery using previous and next links. The problem is that I want fade effect between images like this: [url]http://tobia.github.com/CrossSlide/[/url] I've pasted few lines of jquery code in my javascript functions but the fade effects aren't the same. Any help will be greatly appreciated. Best … |
The End.