2,530 Topics

Member Avatar for
Member Avatar for KOMKOKO

/* Inlude [JQUERY](code.jquery.com/jquery-1.11.0.min.js) External SOurce Scrit *? /* SAVE AS Dynamic_State_LGA.js */ // JavaScript Document /*<![CDATA[*/ var Abia = ['Select item...', 'Aba North', 'Aba South', 'Arochukwu', 'Bende', 'Ikwuano', 'Isiala Ngwa North', 'Isiala Ngwa South', 'Isuikwuato', 'Obi Ngwa', 'Ohafia', 'Osisioma', 'Ugwunagbo', 'Ukwa East', 'Ukwa West', 'Umuahia North', 'muahia South', 'Umu Nneochi']; …

Member Avatar for JorgeM
1
3K
Member Avatar for danarashad

I am using an ajax to load form fields. When the you select the school, the grade fields load. When you select the grade, the show name check box appears. When the select all box appears, I have to click the select all box twice for it to work. I …

0
193
Member Avatar for ravi142

Hello I am using Jquery Cookie for that it given me **Error "$.cookie is not a function"** Used [Plugin](https://github.com/carhartl/jquery-cookie) And My code as bellow. $(window).load(function(){ if($.cookie('chat_user_name') !== 'undefined' && ($.cookie('chat_user_id') !== 'undefined')) { requestChat($.cookie('chat_user_name'),$.cookie('chat_user_id')); } }); In IF condition given error.How can i solved Suggestion Me , Thank you

Member Avatar for ravi142
0
234
Member Avatar for Tushar_2

Hi all, I am trying to run my code editor into my android app here is my link of editor [webpage code editor](http://guru99.com/demo-editor-php.html) I am using the below code for my code editor code link <script>$.noConflict();</script> <script type="text/javascript" src="http://test.guru99.com/js/Phpeditor/codemirror.js"></script> <script type="text/javascript" src="http://test.guru99.com/js/Phpeditor/clike.js"></script> <script type="text/javascript" src="http://test.guru99.com/js/Phpeditor/php.js"></script> <script type="text/javascript" src="http://test.guru99.com/js/Phpeditor/css.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> …

Member Avatar for peter_budo
0
394
Member Avatar for RazorRamon

Hey you all I got a time calculation question. I'm attempting to do a lot of PHP and AJAX code appending to HTML. I want to know if my code below will accurately calculate the time of entire code being executed or solely just the PHP code. If it just …

Member Avatar for diafol
0
363
Member Avatar for powerson65

Hi i am trying to perform a search on a json file called PCproducts.json which has in it various arrays with other data in it.I have seen various examples but seems that either i am doing something wrong in the code or calling the file in the wrong way. This …

Member Avatar for Purkinje
0
3K
Member Avatar for goutham.tandra

Hi! Need to refresh only div for cetrain time without loading any external content into that div.. Can you help me please??

Member Avatar for designershiv
0
760
Member Avatar for powerson65

I am trying to load different data which are all in one JSON data from a drop down menu to a div area on the web page (eg if one clicks PC on the menu then the items related to PC in the json file will load and if Wii …

Member Avatar for powerson65
0
872
Member Avatar for rpv_sen

Hi I am working on dynamic add row. In that if a value is enter in ptype box it should disable the releated textbox filed based on the value. i written code but its not working can any please help me to solve this issue **html Page** <form id='students' method='post' …

0
154
Member Avatar for ravi142

My Problem is How can i get(for display) image in "Chat.php" **e.g** i have get id. $new_id = $_POST['id'] Image path src got perfect My Jquery ajax function his as under function requestChat(name,id) { var img_src = $('#el').attr('src'); //path got perfect jQuery.ajax({ type: "POST", url: "chat.php", data: "name="+name+"&id="+id+"&img_src="+img_src, success: function(html) …

0
107
Member Avatar for Anubhav_1

Hello, i just coded for login script now i want to add "sha1" to my code due to security reason but it's showing an invalid login error i don't know the reason but when i use this withouht "sha1" it's working fine but i want to secure password into database …

Member Avatar for Bob Hensley
0
226
Member Avatar for chrisschristou

hello my lovely friends of daniweb commuty. i have i jquery code of login popup basicaly it work when we click on a link to call it. but i want to excute it if a field is empty for it, i have add a code before `$('a.login-window').click(function()` and that code …

Member Avatar for chrisschristou
0
310
Member Avatar for baig772

**Problem** I need an jax pagination in YII, The problems are * its not showing the required results for the first time. ie. it is showing the complete result * When clicked on more, it again shows the complete result below that section as it is **What Needed** * i …

0
159
Member Avatar for marse.haka91

I'm new in jQuery charts, can anyone help me please? Below there is a static chart that I must populate with dynamic data. I have create the JSON file with but I don't know how to call these data. Thanks in advance. <div class="top-stats-panel"> <h4 class="widget-h">Daily Sales</h4> <div class="bar-stats"> <ul …

0
99
Member Avatar for ravi142

I have build simple chat box. One Text box -> Enter msg One button -> Submit One Textarea -> show message which enter in "Text Box" How could i do using jquery + ajax.? Give me suggestion. Thank you

Member Avatar for diafol
0
69
Member Avatar for ravi142

I am making a cms for a booking app and the admin will be able to see the number of bookings at any moment. How can I do it so that the above updates continuously with ajax...like facebook newsfeed for example. So far the only ajax I have made is …

Member Avatar for Fernando_4
0
193
Member Avatar for Kent55

I am making a game for my computing class and the objective of the game is for the player to move around the grid and collect all of the passengers in the game and deliver them to the base before they run out of power. I have managed almost everything …

0
132
Member Avatar for burhanahmed92

I am making a form which contain two input suggestion fields, 2 datepicker and three select fields. I want to make my form ajax based and show result in div when any field is changed. Just like farecompare.com I almost created a form but form start loading when i click …

Member Avatar for diafol
0
548
Member Avatar for Halnex

Hello, I'm trying to implement autocomplete on a single field "contact". This should query the "contacts" table looking for an id but displaying the firstname in the input field. This is my function inside ListingsController.php, every listing belongs to a contact and every contact belong to a listing. public function …

0
121
Member Avatar for xanawa

Hi, I am trying to call the '`getMembershipDetsPrice()`' php function in the html drop down list 'duration'. I tried to follow the W3schools tutorial but when I changed the value the html printed again. When the dropdownlist changed the value the label needs to be filled by the returned value …

0
160
Member Avatar for gcarterm_1

REALLY basic stuff here. Pretty new to jQuery. I'm trying to add two values (these happen to be the total height of two sidebars. I use alert for each and receive the correct height. But, when I try to add these together, I get the [object Object] return. To make …

Member Avatar for gcarterm_1
0
323
Member Avatar for momal

I'm in a fix with JQuery and ASP.Net! This is my script code. I have used autocomplete to list names of courses from a database. I have a web form named Courses.aspx which has a master page. <link rel="stylesheet" href="css/jquery-ui.css" /> <script src="js/jquery-1.8.3.js" type="text/javascript" language="javascript"></script> <script src="js/jquery-ui.js" type="text/javascript" language="javascript"></script> <script …

Member Avatar for momal
0
642
Member Avatar for olegb

I have been stumped by this completely. Please help. I have a jQuery site that has a form with 2 hidden fields. With javascript, I get information (2 numbers from phone sensors) and set those hidden fields with the numbers. (works fine). I then automatically submit the form, and correctly …

Member Avatar for JorgeM
0
185
Member Avatar for game4tress

I have the Ajax call listed bellow inside a jquery function, and the ajax call is not working. I've used "alert" to debug and its like the jquery function didn't even had the ajax call. Nothing inside it is processed, with no sucess and no errors. Isn't it possible to …

Member Avatar for dcdruck
0
455
Member Avatar for chaitu11

<?php $con = mysql_connect("localhost","root",""); $db = mysql_select_db("abc"); if(!$db){ echo 'Could Not connect database'; } $sel = mysql_query("select * from user_registration"); ?> <script type="text/javascript" src="http://code.jquery.com/jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('input[type="checkbox"]').click(function(){ //how to select multiple checkbox value here?????????? }); }); </script> <div> <?php while($row = mysql_fetch_array($sel)){ ?> <label> <input type="checkbox" name="<?php echo $row['user_id']; …

Member Avatar for Ajay Gokhale
0
2K
Member Avatar for keyroche

Hello. I am using an iframe in my page to submit a form to so that it can upload a file - since you can't do this through the jquery ajax function. I have everything working, but I want to be able to hide the iframe and get the content …

Member Avatar for kiranmaijalem
0
2K
Member Avatar for hanan-kh

I'm currently working on programming a news site and I do not have sufficient experience in the jquery I want a news slider show like that on [this site](http://www.samanews.com/ar/) and thank you

Member Avatar for Alhussaini.Eng
0
86
Member Avatar for network18

Hi All, I have a ajax call in script like below - function testMe() { $.ajax({ type: "POST", url: "http://3.84.46.104/tloken/test/testAjax.php", // data: "ajax=1&elem=" + elem+"&clicker="+clicker, data: "ajax=1", method: "POST", success: function (html) { alert(html+' >>'); return false; // var response = html.split('@'); // document.getElementById(elem).innerHTML = ""; document.getElementById('cmbxCategory').innerHTML = ""; document.getElementById('cmbxType').innerHTML …

Member Avatar for network18
0
2K
Member Avatar for patk570

Hey guys, I have a script that switches between tabs..It works perfectly, but what i am needing is a way for the script to stop when I have my mouse on the tab or content for the tab. I am using bootstrap and here is my [fiddle](http://jsfiddle.net/patk570/5hk6R/) with the working …

Member Avatar for Troy III
0
4K
Member Avatar for baloch123

Hi I have dropdown list of domain names.Which is populated by mysql query(1st query). And when dropdown value is selected that value is used in another mysql query(2nd query). I've a submit button,when it is clicked.It is working perfectly. But i want to remove submit button and i need a …

Member Avatar for diafol
0
18K

The End.