15,698 Topics

Member Avatar for
Member Avatar for RikTelner

Consider following back-end script. <?php if (isset($_GET["req"])) { $req = $_GET["req"]; if ($req == "delete") { // Very intense calculation which finally results in deletion. } if ($req == "add") { // Very intense calculation which finally results in addition. } if ($req == "modification") { // Very intense calculation …

Member Avatar for jkon
0
234
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
679
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
351
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
101
Member Avatar for jason.okoka

i want when a category is selected, the user only gets the product of that paticular category. here is my code ajax_listbox.php <html> <head> <title>Demo of List box selection and displaying matching records</title> <script type="text/javascript"> function ajaxFunction() { //document.writeln(val) var httpxml; try { // Firefox, Opera 8.0+, Safari httpxml=new XMLHttpRequest(); …

Member Avatar for rch1231
0
211
Member Avatar for Faile

I'm trying to figure out how to make the following code work: <ul> <li id='anvil1' class='locked' onclick='anvil1.countCheck("anvil1", "defense", 10, event.button);'>+10 Defensive Ability</li> <li id='anvil4' class='locked' onclick='anvil4.countCheck("anvil4", "[\"defense\", \"constitution\"]", [10, 20], event.button);'>+15 Defensive Ability <br />+20 Constitution</li> </ul> These links are accessing methods from the the star object. I need the …

Member Avatar for diafol
0
3K
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
110
Member Avatar for Shreyas_2

i want to count the checkboxes i putted in my project when they get selected and they cant available again when they get stored in mysql plz rply me on shreyasmnt@gmail.com

Member Avatar for 2teez
0
122
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
136
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
671
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
133
Member Avatar for Adam_24

Hi there, I'm trying to create an instant price calculator in Javascript . Similar to https://mixam.co.uk/brochures but hopefully less complicated. I have 4 fields; 'Paper Size' 'Pages' 'Numbering' 'Quantity' I've managed to work out the code below following guides on other helpful websites. Currently it shows the correct price once …

Member Avatar for Adam_24
0
462
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
332
Member Avatar for Thomas_31

<!doctype html> <!-- Name:Thomas Smith Email:tsmith27@my.athens.edu Student No.00048668 --> <!-- ============================================================== --> <html> <head> <meta charset="utf-8"> <title>Time Remaining</title> <body> <h1 style="text-align:left">How Much Time Until?</h1> <br> <p>Enter the date: <input type="text" id="endBox" size=16 value=''></p> <br> <br> <hr> <input type="button" value="Find Out" style="width:130px;" onclick="javascript:TimeUntil();"/> <div id="outputDiv"></div> <script type="text/javascript" src="time.js"></script> <script type="text/javascript"> function …

Member Avatar for 2teez
0
206
Member Avatar for Carsten_1

I'm currently working on a website; crafterguide.azurewebsites.net; and I was woundering how to get the best possible login/register/logout page, how get it where when someone creates/log's in to a(n) account that it redirects them to a profile page, and just some feed back and critisizum.

Member Avatar for James_43
0
147
Member Avatar for TObannion

I'm trying to do some mouseover things with images. I thought that I had everything exactly as it should be but the page can't seem to access the images I'm asking it to. The idea is that the page has three pictures. One of a happy baby, a dog, and …

Member Avatar for TObannion
0
364
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
315
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 TheFearful

I don't know too much about web development or making web pages although I can make simple html pages that have forms and so forth. I can do a little bit of javascript and css so that I can give the page some functionality and some type of design. However, …

Member Avatar for AleMonteiro
0
273
Member Avatar for jeevsmyd

I'm getting the following error Syntax Error: Token '{' is an unexpected token at column 6 of the expression [rForm{{] starting at [{4}]. My form code is as follows <form name ="rForm{{$index}}" ng-submit="rForm{{$index}}.$valid && rCtrl.saveResource(api)" style="margin-top:0%" class="form-horizontal" role="form"> I'm using {{$index}} since I'm making multiple forms dynamically. The final html …

0
123
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 timtim1

Am currently interested in delivering user experiance web and mobile applications.There are several amazing libraries so far.What are some of the best libraries that I should start with in this journey?

Member Avatar for AleMonteiro
0
153
Member Avatar for basit_3

hey guy iam working with ajax slide show extender , it work perfect with one album , but i have two separte albums , i wrote the code for first album as [System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] public static AjaxControlToolkit.Slide[] GetSlides() { AjaxControlToolkit.Slide[] slides = new AjaxControlToolkit.Slide[6]; slides[0] = new AjaxControlToolkit.Slide("slideshow/basit.jpg", "First image …

Member Avatar for AleMonteiro
0
131
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
430
Member Avatar for shashigowda

hii, it may b very simple or very basic thing but iam confused in this case...any one can explain usage of single & double quotes in **echo** statement <?php $x = "test"; echo '$x';//produces $x as a output echo "$x"; //produces test as a output ?>

Member Avatar for cereal
0
264
Member Avatar for gann1

Sending SMS through gateway was one of the features in our project. In our first tries, the complete message was succeefully sent.. We used this Code <?php header("location:http://api.clickatell.com/http/sendmsg?user=thisistheusername&password=thisisthepassword&api_id=thisistheapiid&to=". $_POST['mnumber'] ."&text='". $_POST['message'] ."'"); ?> But our panelists required us to put an alert that the message was sent.. and when we …

0
112
Member Avatar for pezzinae

Hi all can you help me I really don“t know why my web app is being deformed when a message is shown I Been trying the update panel but it just does nothing when try to retrieve information from a database in access

Member Avatar for pezzinae
0
149
Member Avatar for rpv_sen

Hi I am trying to update the ON / OFF status through the below code. If i change the OFF status to ON, its getting a value is OFF. can any one please help to fix the issue. **toggle.php** <div id="setQuickVar1"> <input type="checkbox" data-switchery <?php if($SCYQ64EV01=='Y') echo 'checked'; ?> /> …

Member Avatar for rpv_sen
0
9K
Member Avatar for chunguy

hihi, is there a way to rid of the page header (usually it's the page title and url) and the page footer (usually it's the page number and date) without having user to change from the web browser's the page setup ? Can this be done using javascript or just …

Member Avatar for adminsssssss
0
5K

The End.