1,694 Topics

Member Avatar for
Member Avatar for hrushi9

I'm Using **AdminLTE-2.3.0** template, **jquery.imgareaselect.js** I'm using bootstrap modal to submit form via ajax. Inside Modal I have preview of image before upload. And **imgareaselect** is not working well that I proceed further with image cropping. **ScreenShot of error is attached.** **Please help.** **Thanks.** **imgareaselect-animated.css** .imgareaselect-border1 { background: url(images/border-anim-v.gif) repeat-y …

0
213
Member Avatar for shashigowda

Hi, i need urgent help.. iam working on leave management system(LMS).if the employee apply for the leaves means,one message go to HR inbox (internal application inbox). iam designing inbox for this..it has two parts(2 coloums).in the first coloumn iam displaying messages with employe name,id nd subject(just like preview of the …

Member Avatar for shashigowda
0
246
Member Avatar for FarrisFahad

I am trying to build a scrolling system for my website. This is what I have com up with ... $.ajaxSetup({ cache: false }); $(window).scroll(function(){ if($(window).scrollTop() == $(document).height() - $(window).height()){ picturesCount = $(".Picture-1A").length; allPicturesCount = $("#allPicturesCount").text(); alert('picturesloaded:' + picturesCount + ' PicturesDB: ' + allPicturesCount) if(picturesCount < allPicturesCount){ $.post('ajax/load-latest-pictures.php', {pictures_loaded:picturesCount}, …

Member Avatar for FarrisFahad
0
1K
Member Avatar for priyanka85

I have an input field which is showing vulnerable in security scan using XSS attack as: STYLE="xss:e/**/xpression(try{a=firstTime}catch(e){firstTime=1;alert(969)});" Could you please suggest how can we prevent from vulnerability like this ? Field: <input id="{ControlItemUniqueID}Data" style="width:150px" name="{ControlItemUniqueName}" type="hidden" {MaxLength}{IsEnabled} {IsReadOnly} class="datatext {CssClass}" value="{Data}" onkeypress="sanitizeEmployeeDateData()" onmouseover="sanitizeEmployeeDateData()" onblur="sanitizeEmployeeDateData()> <script> function sanitizeEmployeeDateData() { var EmployeeDate …

0
167
Member Avatar for Praveen_15

Hi everyone i need help in getting value from 3 depenedable dropdown menu and after selecting option from 3 dropdown menu the data showed be shown in textbox eg. First value **package1** Second Value **car1** Third value **Type** and textbox value **Rate1** **Rate2** **Rate3** Please help me in this Thanks …

Member Avatar for Praveen_15
0
422
Member Avatar for seularts

I am trying to make the smooth scroll effects with this basic script for this site: http://greaca9.ro/test/index.html $(function() { $('a[href*="#"]:not([href="#"])').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); if (target.length) { $('html, body').animate({ scrollTop: …

Member Avatar for panduranga_1
0
318
Member Avatar for didinadeen

I'm trying to populate a multidimensional html table with data from a JSON. The idea is that the first row is with the dates and the next ones start with with the name of the value and for the value for the date in the first row. Just like and …

Member Avatar for panduranga_1
0
397
Member Avatar for ramsiva

given below my code is displaying two date pickers <script> $(function() { $( "#from" ).datepicker({ minDate: -2, maxDate: "+1d", changeMonth: true, numberOfMonths: 2, onClose: function( selectedDate ) { $( "#to" ).datepicker( "option", "minDate", selectedDate ); } }); $( "#to" ).datepicker({ minDate: -2, maxDate: "+1d", changeMonth: true, numberOfMonths: 3, onClose: function( …

Member Avatar for ramsiva
0
816
Member Avatar for baig772

I have a div with `width: 200px` and I am adding text in it dynamically, I want the text to fit in this div but the text is getting out. I have tried to change the font size on character count but it does not work in all cases, like …

Member Avatar for AleMonteiro
0
376
Member Avatar for Lau_1

Hello, anyone have any idea on how to display selected image in popup box? and then upload. Currently, the basic way is to display the selected image in a <div> tag, and i want to change and display the image in popup/dialog/confirmation box. Below is the code to select image, …

Member Avatar for AleMonteiro
0
1K
Member Avatar for Amr.Mohammad87

Greetings, I am a newbie in web development and I am working on a website backend using ***ASP.NET***, ***Bootstrap***, and ***jQuery*** and I need to upload files, simply photos, that will be used to be displayed on the frontend banners. I already used the HTML5 file API to read the …

Member Avatar for AleMonteiro
0
367
Member Avatar for janicemurby

hi im not sure if come into the right section but im looking at adding a chatroom to my site for my users to use and im wanting it where they dont have to log in or register to chatroom instead they login on site and the username is same …

Member Avatar for mblan180131
0
203
Member Avatar for sahilmohile15

Hello i am developing a project but getting an error i don't know why is this happening and i have tried everything i can. please help me i am providing code below it requires 3 files to understand it so i am sending them: index.php <!-- Main Content--> <div class="col-md-8"> …

Member Avatar for hericles
0
432
Member Avatar for AntonyRayan

HI to everyone, I am fully confused. I have a selectbox with dynamic values. No body what value will come in that select box, based on that value , I want to do hide and show. How to do that? Here I included my dynamic select box, <select name='category' id='category'> …

Member Avatar for mblan180131
0
331
Member Avatar for James_43

Hi all, Something disturbing is happening... I make an AJAX call to a page and it returns unprocessed PHP, not HTML. However, when I navigate to the page manually, the PHP is processing as expected. This must be a huge security vulnerability? My AJAX call is: $('#forgot').click(function(e){ e.preventDefault(); lFormContainer.load("ajax/?page=authenticate/username"); }); …

Member Avatar for James_43
0
666
Member Avatar for priyanka85

I have this function call which I need to convert to POST request because this is getting popped up in query parameter in SSL security threat. Could you please help ? Thanks LoadYearMakeModelUsingAutoVin(controlId, 'RequestXml.aspx?name=GetVehicleInfoUsingVinCanada&VinOrSerialNumber=' + vinOrserialnumber); ------------------------------------ function LoadYearMakeModelUsingAutoVin(controlItem, dataSourceUrl) { var xmlDoc; var xmlDoc2; if (window.ActiveXObject) { var xmlHttp …

Member Avatar for AleMonteiro
0
348
Member Avatar for ramsiva

how to use on() event with autocomplete. I am using below jquery code $(function() { $( ".skillsex" ).autocomplete({ source: 'search.php' }); }); but i want to use on() event with auto complete any body help me. how to use

Member Avatar for ramsiva
0
99
Member Avatar for codingin

<div class="row column text-center"> <ul class="dropdown menu" data-dropdown-menu> <li> <a href="">For Sale</a> <!-- I want the menu below to display inline-block--> <ul class="menu"> <li><a href="">Used cars</a></li> <li><a href="">New Cars</a></li> </ul> </li> </ul> </div>

0
108
Member Avatar for AntonyRayan

Hi, While printing , the color what I gave in the box , is not coming while printing. How to fix the color

Member Avatar for cereal
0
134
Member Avatar for abhi10kumar

![CRM_2016-03-17_13-29-30.png](/attachments/large/3/3db294eb9c3a9a7b7b1bee7032293307.png "align-center") I am appending bootstrap chosen drop-down on button click, the javascript is not triggering that why it is showing simple multiple select. $(document).on('click', '#more_provisions_button', function () { console.log('Incre : '+i); $("#provision_div").append("<p class='par'><div class='form-group' style='clear:both'><div class='col-sm-6 mr-bottom'><select name='provision_month[]' id='day' class='chosen-select input-md' style='width:500px;'><option value='January'>January</option><option value='February'>February</option><option value='March'>March</option><option value='April'>April</option><option value='May'>May</option><option value='June'>June</option><option value='July'>July</option><option …

Member Avatar for AleMonteiro
0
669
Member Avatar for shandoo1997

Hi. I have a python script that i run on my raspberry pi that would connect to a usb sensor and get a value each 0.5 seconds and output the results. I wanted to make a web app to view the data in realtime instead of using terminal so i …

Member Avatar for diafol
0
131
Member Avatar for Violet_82

HI guys, I'm redoing my old photography website and I'm still at the very beginning of the project. Somewhere I saw a jquery bounce functionality implemented and I thought I'd do it for my website as well, so I downloaded all I needed from the jquery ui website and got …

Member Avatar for Violet_82
0
331
Member Avatar for rpv_sen

Hi I am trying to insert to database. I am facing an issue in getting relavent radio button value. suppose if i select 1 or 2 or 3 radio button, by default it display 1 radio button value. please help me to fix the issue. **index.php** <div id="message"></div> <form class="form-horizontal" …

Member Avatar for James_43
0
314
Member Avatar for uistreet
Member Avatar for Nomorewine

Hello everyone. Please help me. Select box <select> is not working in phonegap app only on gingerbread. It works on iOS and Adroid ice cream sandwich + jelly bean. I use jquery 1.9.1 and iscroll 4.2.5 and phonegap 2.3.0. Does anyone has any idea why would it work in ics …

Member Avatar for diafol
0
2K
Member Avatar for swilliamrobert

Hi, How can we destroy session after closed window or tab? If user close window, still session is alive after login the systems. Please give me good solutions. thanks for your time. William

Member Avatar for jkon
0
8K
Member Avatar for mario90

hello great community, i hope my question is clear .... i use banner rotator for my site but i want to see which banner get better ctr (click through rate) . also to not confuse the vistor with the other links i would need to hide the <a href target> …

Member Avatar for mario90
0
332
Member Avatar for James_43

Hi all, just a quick question. I believed that `$('#value')` was a jQuery function equivalent to `document.getElementById('value')` however, in the code below, only the second function gives the desired result. Can someone explain why this is? $('#value').value = "1"; document.getElementById("value").value = "1";

Member Avatar for AleMonteiro
0
218
Member Avatar for James_43

Hi all, I'm having some serious issues with AJAX forms. I'm currently using jQuery 2.2.0 and the jQuery Form plugin. I have a simple php file: <?php if(isset($_POST)): print_r(json_encode($_POST)); endif; ?> I have a simple html form: <form method="post" id="regform"> <input id="login_name" name="login_name" type="text" > <input id="login_password" name="login_password" type="text" > …

Member Avatar for James_43
0
231
Member Avatar for prakash2813

I have working struts1 dispatch action and a form having two submit buttons which have parameter and value which calls method name with value. Well there is no problem. But when clicking on delete button, I want to confirm with bootstrap dialog. $('.btnDelete').on('click', function(e){ var $form=$(this).closest('form'); e.preventDefault(); $('#confirm').modal({ backdrop: 'static', …

Member Avatar for prakash2813
0
446

The End.