3,446 Topics

Member Avatar for
Member Avatar for karthic2914

I have a query on session storage how to store three fields value in a single session storage. I have three fields two radio button (in different groups) and one drop down in the first page this is how my first will look like. I was not able to get …

Member Avatar for karthic2914
0
1K
Member Avatar for pritaeas

In response to [this thread](https://www.daniweb.com/programming/web-development/threads/499762/jquery-for-dropdown-textbox) I've decided to paste the linked example as a code snippet (updated to html5/jQuery2).

Member Avatar for diafol
2
339
Member Avatar for shany0786

i am stuck at one problem where i have two radio buttons "yes" and "no" by default yes is checked and below these radio buttons there are 3 drop downs for country,state,cities and two text fields.no what i want is when user select "no" radio button all these 3 dropdowns …

Member Avatar for gentlemedia
0
347
Member Avatar for kavinsac

Hi, I'm Kavin, I guess I've always been a bit geeky. I'm currently working on my first website and learning HTML and CSS. I'm also quite keen on photoshop. I also want to learn PHP, MySQL and video editing at some point, but for now I'm still quite busy with …

Member Avatar for diafol
0
574
Member Avatar for James_43

Hi all, I'm very very new when it comes to JavaScript, but I understand it's what I need to solve my problem. Basically, I have a PHP script that takes a while to process (several minutes). This script is linked from my homepage and when the script finishes it redirects …

Member Avatar for James_43
0
11K
Member Avatar for Latrell_vie

Im working on a menu for my website.The idea is that on click on a menuselection the menucard scrolls to said portion of the menu. I tried different approaches,sofar only $(function MyFunction() is working,but i need sth more general where i can include a parameter into the function like function …

Member Avatar for Chris_33
0
269
Member Avatar for AntonyRayan

I know how to find number of working days for an academic year. But I want to know working days of each and every month from june to april of next year,seperately. How to do?

Member Avatar for Taywin
0
100
Member Avatar for gogs85

Hi I have problem to get data when insert with ajax. I have ajax.js file and here is this code: $('#text-content').keypress(function(e){ if(e.which == 13) { if($('input#enter-click').prop('checked', true)) { $('#live-send').click(); e.preventDefault(); } } }); $('#live-send').click(function(){ var message = $.trim( $('#text-content').val() ); if($('#text-content').val()!="") { $.ajax({ type: 'POST', dataType: "json", url: './includes/conversation.php', data: …

Member Avatar for pritaeas
0
303
Member Avatar for AntonyRayan

HI, I want to calculate number of working days for the academic year between two dates like(01-06-2015 to 31-10-2015). I saw all codes that are doing only for curtrent year. If I want to do future years , how to do automatically, Here is my code what I tried , …

Member Avatar for diafol
0
239
Member Avatar for gogs85

Hi I have problem to get data when insert with ajax. I have ajax.js file and here is this code: $('#text-content').keypress(function(e){ if(e.which == 13) { if($('input#enter-click').prop('checked', true)) { $('#live-send').click(); e.preventDefault(); } } }); $('#live-send').click(function(){ var message = $.trim( $('#text-content').val() ); if($('#text-content').val()!="") { $.ajax({ type: 'POST', dataType: "json", url: './includes/conversation.php', data: …

Member Avatar for diafol
0
441
Member Avatar for prafful_panwar

I want to use the instance of ckeditor. when user click on add more button it will create the instance of ckeditor, but that instance of ckeditor is not editable. I mean user is not able to enter anything there. Need help...Thanks in advance :) fiddle : http://jsfiddle.net/pkz7auLy/

Member Avatar for diafol
0
1K
Member Avatar for Violet_82

HI guys, I've just run into an issue. Basically I'm working t a wordpress site, and there are some conflicts with the usage of the "$" sign so I used this in the document ready to allow me to use "$" in place of jQuery: jQuery(document).ready(function($){ ... }); It works …

Member Avatar for Violet_82
0
251
Member Avatar for AntonyRayan

Hi, I am not familiar in google map. I want like this, My map page reloads after every 10 seconds. when I load map page it will just show the map with the given static latitude and longitude. after 10 seconds, it will plot the available vehicles from mysql table. …

Member Avatar for Taywin
0
107
Member Avatar for FarrisFahad

Hi, I want to advance my experience in web development. I know the basics of PHP, jQuery, CSS, HTML, and MySQL. I have no problems with CSS, HTML, and MySQL. I am very good at them because they are simple. But I am having trouble how to understand how can …

Member Avatar for V3N0M
0
349
Member Avatar for davy_yg

http://www.innovation.web.id/One/testimonial.php Hello, I am trying to utilize bootstrap in this slider but it does not work yet. I wonder why? I expect the screen to adapt to the webbrowser screensize. I already add this code: <div class="row"><div class="col-sm-12"> <li><div style="font-family: arial; margin: 40px 0 0 90px;"><img src="Images/testimonial/person1.jpg" width="120px"/><div style="width: 500px; …

Member Avatar for davy_yg
0
383
Member Avatar for kindo

Hello, I have this code to print all locations from a json file: countries.json: { "af": { "name": "Afghanistan", "phoneCode": "93" }, "al": { "name": "Albania", "phoneCode": "355" }, "dz": { "name": "Algeria", "phoneCode": "213" }, "ad": { "name": "Andorra", "phoneCode": "376" } } Jquery: function getData() { $.ajax({ url: …

Member Avatar for kindo
0
186
Member Avatar for kindo

I have be writing code for Json requests, but haven't seen this before.. How do I go about it? I want to return all the countries with their name and Phonecode Here is the Json am getting request from: data.json: { "af": { "name": "Afghanistan", "phoneCode": "93" }, "al": { …

Member Avatar for diafol
0
379
Member Avatar for Harman_2

In my code below I am using javascript and php for building registration form. There are two files register.php that contains html code for form, javascript library and javascript code. Second file reghand.php handles php code for validation and inserting data. Data is inserted correctly into database after form validation …

Member Avatar for Taywin
0
618
Member Avatar for infoitmanoj
Member Avatar for diafol
0
3K
Member Avatar for jeffersonalomia

I have problem with my PHP AJAX code for uploading file. At first, it works fine then after a few months and reinstallation of my wampp server the code produces an error Error: Undefine variable ls_no, ch_no, grp_co, browser Heres the code that I wrote // upload_file.php <?php include_once("db_connect.php"); $chars …

Member Avatar for diafol
0
322
Member Avatar for Testt

Hi all, I was trying to create a kill switch for hours but with no success i wasnt able i have tried css killswitch and ajax killswitch, this is the tutorial http://menacingcloud.com/?c=ajaxKillSwitch2 i tried but wasnt able to make it work i also researched and found csskillswitch.com but also that …

Member Avatar for gentlemedia
0
573
Member Avatar for SimonIoa

Hello i made a website written on PHP, JAVASCRIPT, JQUERY, MYSQL and i want to make an application. How should i start? I want of course to make it multiplattform (IOS, Android, Windows). What would you suggest ?

Member Avatar for vishal.deep
0
157
Member Avatar for UK-1991

I created a rating system where users can rate the posts, but I want to make it restrict like one user can only rate the post once I beleive my punctuation is better to be understandable like before as I got many negative feedbacks here but I am trying to …

Member Avatar for diafol
0
303
Member Avatar for Nkondola

The below code insert comment and display right. I want to add like button, share button, follow button .And it must be in array when the story is displayed must be attached with comments,like,share and follow button. Help me how can i put that in code . Thanks

Member Avatar for diafol
0
68
Member Avatar for perez-martin

I use a Shield UI Chart for displaying some forex data. I do need to gradually add data to the chart in other dynamically add points. However according to the documentation, there isn’t the possibility for dynamically adding of points, at least I can’t see such method, something like: AddPoint …

Member Avatar for baker-thomas
0
254
Member Avatar for yankeefan24

I added input-group to my textarea to fix a text overlapping once the form was submitted. Now I cannot type anything in the textarea on IE9 it works on every other browser even IE 6. Any body has ran into a problem like this? Bellow is a code snippet <cf_yrmc_input …

Member Avatar for diafol
0
366
Member Avatar for AntonyRayan

Hi... Is there any other solution to use map but not google map, which works in offline also?

Member Avatar for almostbob
0
926
Member Avatar for iamthwee

Hi, I can successfully use the upload form in codeigniter without jquery/ajax, trouble is I need it for a rich text editor. Any ideas how to go abou this. Ta.

Member Avatar for Freddy_2
0
4K
Member Avatar for davy_yg

Hello, There is something strange about this website link: http://www.innovation.web.id/One/team-members.php The slides only works well on localhost IF I turn of the javascript. but only on localhost. NOT on online. I wonder why? I am taking the sliders from : http://flickity.metafizzy.co/ nav.php <link rel="stylesheet" href="bootstrap-3.3.5/css/custom.css" media="screen"> <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script …

Member Avatar for diafol
0
306
Member Avatar for joseph.lyons.754

I needed a grid layout to display some images. I found this one online http://alijafarian.com/demos/responsive-image-grids-using-css Its displays but not like it should. Through a process of elimination i figured it was a js file causing this, two to be precise. init.js & skel.panel.min.js These js file came with the template …

0
332
Member Avatar for Vishnu_5

**Plz provide me a complete example of "Passing specific table row data in Bootstrap Modal" i.e on clicking edit link of a specific record, details for that record should be displayed in modal Table data is fetched with PHP from MySQL database. Plz help me out...**

Member Avatar for Tpojka
0
93
Member Avatar for london-G

Hello, I have this code here. I am trying to show the different options with radio box. There is something wrong in my code, however I can't figure out what it is. Any help? <div id="questions"> <p><img src="images/pic_survey.jpg" width="279" height="104" alt=""/></p> <p>Please take our five second survey!</p> <h3 class="hSubtitle">Question 1</h3> …

Member Avatar for london-G
0
175
Member Avatar for davy_yg

Hello, I would like to erase the numbers list 1-4 in this sliders (Any clue how to ?) : http://www.innovation.web.id/slider2/ slider2/index.html <html> <head> <!-- jQuery library (served from Google) --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <!-- bxSlider Javascript file --> <script src="jquery.bxslider.min.js"></script> <!-- bxSlider CSS file --> <link href="jquery.bxslider.css" rel="stylesheet" /> <script> $(document).ready(function(){ …

Member Avatar for gentlemedia
0
231
Member Avatar for nosfa

Hi all. I cannot pass the values from the textboxes onm a form to the controller. view code <script type="text/javascript"> $(document).ready(function () { $("#btnSubmit").click(function () { var presc1 = $('#p1').val(), aviad1 = $('#a1').val(), $.ajax({ type: "POST", dataType: "json", contentType: "application/json; charset=utf-8", url: "comparar", data: "{'presc1':'" + presc1 + "', 'aviad1':'" …

Member Avatar for nosfa
0
208
Member Avatar for new_2_java

Hello everyone, I have 2 JSP files, lets call it 1.jsp and 2.jsp. I have a javascript function in my 1.jsp file, that I am calling 2.jsp, and passing one argument. as follow: 1.jsp function call1Servlet () { var myId = document.getElementById('lblId').textContent; window.open("/myapp/2.jsp?myId="+myId, "", "toolbar=no,menubar=no,resizable=no,scrollbars=yes,width=1024"); } Now, in my 2.jsp …

Member Avatar for FarrisFahad
0
165
Member Avatar for UK-1991

Hello, I have created many functions and I am trying to show messages ie when user successfully registered invalid username password invalid this and that I tried to do so using the session_start concept please let me know if this is a good approach or should i do another way …

Member Avatar for cereal
0
267
Member Avatar for UK-1991

Hello, Recently I wa trying to develop an audio player of sound cloud as I got inspiration from here http://en.israelstory.org/episode/whats-love-got/ you can click file 1 by 1 and notice on the player hw is it playing I also tried to do the same but it's not orking when I clicked …

Member Avatar for diafol
0
176
Member Avatar for RudyM

What is the best practice for including JQuery in Codeigniter? I've tried including the following line in my controller code: $this->load->library('javascipt/jquery'); But, when the page loads, I get > Unable to load the requested class: Jquery My setup is using xampp, CodeIgniter folder "CI" is located in /htcdocs/ci/. Thanks in …

Member Avatar for RudyM
0
254
Member Avatar for davy_yg

Hello, I would like to create FAQ with a dropdown text if I click the > and it should open a new text sentence right underneath it. Could anyone teach me or advice me where to find a jquery like that? + Far far away, behind the word mountains, far …

Member Avatar for pritaeas
0
633
Member Avatar for UK-1991

Hello I have created a website recently and my client is saying that your website is not secured I have easily created new tables and even a kid can get in to your database and modify your database. is this because I have used this <a id="svgtriangle_f9" xlink:href="mainpage.php?apart=1&floor=9" class="portfolio-link" onmousemove="ShowTooltip(evt, …

Member Avatar for jkon
0
188
Member Avatar for ramsiva

I have two dates var date1="2015-09-18 06:08:50"; var date2="2015-09-18 06:08:51"; I am suffering to get greater one date2. any body help me.

Member Avatar for cereal
0
102
Member Avatar for Aeonix

Doesn't exist. But I would love that it did. 2 days ago, I made search for it, I found this one pearl of a function, you just called it and it would perform just that. Today, I can't find it for heavens. I have been through about 5 fiddle's, about …

Member Avatar for Dani
0
3K
Member Avatar for PulsarScript

Hi all.I got task to do,here are the details: A social network service consists of a representation of each user (often a profile), his/her social links, and a variety of additional services Registered users may register and set up a PROFILE/ home page, photo etc. Please advise the steps,how it …

Member Avatar for midastouchwebs
0
158
Member Avatar for anmol.raghuvanshi1

I need some guidance in this I have registration form in which there will be button clicking on which open a new form without refreshing a page and again clicking on same button hides form it's user will to fill that form.Here is snapshot what i actually want.I want to …

Member Avatar for diafol
0
4K
Member Avatar for Habib_7

for example I have this html code: <select id="mySelect"> <option value="0">apple</option> <option value="1">orange</option> <option value="2">banana</option> <option value="3">tomato</option> </select> 1-how can I select ` <option value="2">banana</option> ` (by passing the value attribute to selector function)then click on it with javascript with out using jquery 2-Is there any way to select this …

Member Avatar for phoenix254
0
317
Member Avatar for squeak24

Hey Everybody, I hope everyone is keeping well. I am trying to develop a search box on a website in JQuery/Ajax but I am running ino some issues. The problem I have is I have some very strict parameters that I can work to: I can not use PHP. I …

Member Avatar for squeak24
0
211
Member Avatar for Joby_1

Now i can check the size of the image. But can't validate the image type(.jpg, gif etc..). Could you please check the following my code and give answer. <!--Form image validation--> <script type="text/javascript" src="js/jQuery-1.4.1-min.js"></script> <script> $(document).ready(function(){ $('#i_submit').click( function() { //check whether browser fully supports all File API { //get the …

0
113
Member Avatar for arctushar

Hi I m using a jquery plugin for autocomplete multiselect. Plugin link is http://www.jqueryrain.com/?Bxwy2bPt Now I want to submit this selected item to page. How can I do that. Plz help.

0
141
Member Avatar for solomon_13000

The code below ensures that my entry is only numeric with 2 decimal. <input type="text" maxlength="10" name="numPrice" value="1.00"> $("input[name='numPrice']").keyup(function(){ if(!(/^\d+(\.{0,1}\d{0,2})?$/.test(this.value)) ){ this.value = this.value.substring(0, this.value.length - 1); } return this; }); However values such as 1&.0 is not rejected by the code above. Did I miss something?

Member Avatar for solomon_13000
0
251
Member Avatar for davy_yg

Hello, I am trying to build this website with bootstrap that connects with clients. I wonder why whenever I open it in android the client list change into vertical and it still too wide for android like the navigation does not filled the whole horizontal screen and the client still …

0
149

The End.