2,530 Topics
| |
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"/> <link href="css/datepicker.css" rel="stylesheet" /> <script src="js/bootstrap.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="js/bootstrap-datepicker.js"></script> <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> <script src="js/JavaScript.js"></script> <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <title></title> </head> <body> <div> <form class="form-horizontal" id="form1" runat="server"> <fieldset> <!-- Form Name --> <legend>Enter Your Details</legend> <div class="control-group"> <label class="control-label input-xlarge" for="Status">Employment … | |
Argh, I can't see the error in this code ? [[Link](http://jsfiddle.net/WildWind/D8tTE/)] | |
I''m trying to process a form without page reload using jQuery post as shown below: <script type="text/javascript"> $('#settingsForm').submit( function(){ $('input[type=submit]', this).attr('disabled', 'disabled ');}); function scheck(){ var oldanswer = $("#oldanswer"); var newquestion = $("#newquestion"); var newanswer = $("#newanswer"); var url = "settingsupdate.php"; //This part of the code works fine. Errors are … | |
Hi, i was trying to call JQuery function from my backend C#. the JQuery function testtesttest(testurl,counter) { $("'#imgThumbnail"+counter+"').attr('ImageURL','"+testurl+"'); $('#imgThumbnail'+counter+').show(); } backend C# code int counter = 0; while(counter<list.Count) { int imgcounter = 1; string testurl = list[counter]; ClientScript.RegisterStartupScript(this.GetType(), "sc", "testtesttest("+testurl+", "+counter+")", true); imgcounter++; counter++; } I trying to pass 2 … | |
Hello guys I have a problem with jquery this my code: var count = $(".count"); $('.minus').on('click', function () { if (count.val() > 1) count.val(parseInt($(".count").val()) - 1); }); $('.plus').on('click', function () { count.val(parseInt($(".count").val()) + 1); }); and HTML code: for first product and other products: <td> <input type="button" id="minusInCart" class="minus" value="-"> … | |
I am creating chat program in php using jquery, ajax and MySQL. and my problem how to auto scroll down when div is overflowed. like when user enter new line it will goes down and I want to auto scroll down when new messages appeares down. and I am trying … | |
This is a follow up to another thread, lets say the other thread didn't occur, kapeesh :) ! This [code](http://jsfiddle.net/WildWind/3AXB9/) is telling me I'm missing a semi-colon, I can't see where it's missing the code looks clean to me ? | |
Hey all, I have done a lot of research on this subject but cannot seem to get this to work again. I recently went from tinymce 3 to 4 and it seems that its kind of broken with jquery ui tabs. I have one main textarea that shows the editor … | |
I have created a chat program that is working fine on localhost but in the live server its not working fine, its sent response or text very late, So I don't know what code should I post here to get know whats the problem or how it will be solved. … | |
Hi Everyone, I have a javascript function below: function submitUserInfo() { if (myForm.validator.validate()) { var data = $('get-user-info').serialize(true); var params = data; var url = 'http://www.mysite/engine/'; var request = new Ajax.Request(url, { method: 'post', parameters: params, onSuccess: function (transport) { //alert(transport.responseText); $('paywall-img').innerHTML = ''; $('paywall-img').insert(transport.responseText); $('paywall-img').insert('<button class="button close-pw"><span>Cancel</span></button>'); }.bind(this), onFailure: … | |
The following code, use to work, now it's not ? $("<selector>").animate({bottom:'-1200'}), -1300, 'easeOutBounce'); }); | |
I am developing a project on PHP and MySQL. My problem is "I am unable to show a uniqueID in a textbox like 'GHY00001, GHY00002, etc' auto-incremented everytime i load the page and insert it into the database". I already tried some php tutorials but didn't find usuable to my … | |
Hello Everyone, Can you suggest me for Any Script or snippets of dopdown value given to **database** using **jquery and ajax** in php file. Thank You. | |
First of all I should have to say that I do have a good knowledge in C# and but not much knowledge in JS and Jquery. I’m going to develop a web application which can see a specific location of a building (conference room, manager’s room) graphically. It is used … | |
Hi, I have come across another programming challenge again and hopefully I wont close the thread myself this time. I am expecting good suggestions or examples from you to do this. I want to build a (scrollable) nested list, from which children of two parents could get swapped after some … | |
I want to make a system that generate numbers on click, I have numbers from 1 to 100 like M-3134 A-3133 U-3132 and so on. and I want to put all my these numbers in array and want to show using button randomally, upto 8 numbers or 10. and when … | |
Hi guys, so i have a table populated by event details from database and i use a checkbox to select which event to be deleted: echo "<tr> <td><input type='checkbox' name='check[]' class='check' value='$id'>$name</a></td><td>$formatDate</td> </tr>"; my delete function: <?php if(isset($_SESSION['sess_user_id'])) { if(isset($_POST['del_event']) && isset($_POST['check'])) { require "connection.php"; $userid = $_SESSION['sess_user_id']; foreach($_POST['check'] as … | |
| Hello All. Been playing around with some linked dropdowns. It seems to be a recurring theme here on DW, so I thought I'd offer this up as a possible solution or for discussion, to see how it could be improved. The premise for this set of linked dropdowns is that … |
first off this is a question where jQuery is used heavly, there are no catagories to put that under on <DaniWeb> so i've put this post under what i believe is the most appropriate one. Ok! now thats done and over with, im requiring some assistance on how to write … | |
Hi there, I have a php script that contain java script codes to show pop up email registration form, but these codes does not work. can anybody suggest me how to make it to work ? Below is the code that i have on my script. **Maybe to set cookie … | |
So I have this function that sets an achievement in my database and returns infos about the achievement to be displayed on a bootstrap 3 modal. function setAchievement(idAchievement){ $.ajax({ url: "http://localhost:8080/licenta/setAchievement", data:{"idAchievement":idAchievement} }).then(function(data) { if (data.description != "null"){ // if update was made $("#description").text(data.description); // set the divs with infos … | |
I have the following field in a jsp page.. <select size="1" name="typ"> <option value="C">Coffe</option> <option value="T">Tea</option> </select> Now when the user selects Coffeand and clicks submit, I want the page to go to Coffe.jsp and when Tea is selected , i want it to go to Tea.jsp I tried … | |
hey guys. first, sorry about the vague question title i know that that is totally unacceptable but i just didnt know what the title of this thread should be. sorry(ashamed). so the "issues" that i am having is regarding this script: $("#table tr td").live("click", function(){ var row = $(this).closest('tr').css('background', 'LightSlateGray'); … | |
hello. so to keep it short and simple. I have a button "Cloned" and an <img>. The problem is that the image gets double cloned on the second, third and so on when Cloned button is clicked. Like on the first click image gets cloned and displayed once, on the … | |
Hello, I have been working on this application for a bit and I feel like I am close but apparently I am not close enough. **Challenge:** I need to be able to have the user input an address and click "Create Map". In the map that’s displayed, the user’s entry … | |
I have medium skills does anybody know an Autocomplete jquery script? | |
Hi, I need help! I want my textbox value to be change using jquery in cakephp during onchange event of my textbox. below is my add.ctp code: <div class="jobs form"> <?php echo $this->Form->create('Job', array('type'=>'file')); ?> <fieldset> <legend><?php echo __('Add Job'); ?></legend> <?php echo $this->Html->script('ckeditor/ckeditor'); date_default_timezone_set('Asia/Manila'); echo $this->Form->input('users_id'); echo $this->Form->input('comp_name', array('label' … | |
I have two forms that are fairly identical located on different pages of a site. In order to call distinct jQuery ajax functions there are two class names I need to alter. For one of the pages, I place this script <script> $(document).ready(function(){ $(".itemDelete").switchClass("itemDelete","LibraryItemDelete"); $(".itemEdit").switchClass("itemEdit","LibraryItemEdit"); }); </script> and it is … | |
can any one please help me on how to write a jquery that checks two drop down inputs and determines the third from the database ..please help am really stuck | |
**I want to track Email if opened by user and increase the count in my database.** **I have tried a lot a things like image sending and bgsound but none of them worked. But now i will do with the help of image sending. I am not getting the idea … |
The End.