15,120 Topics
| |
I would like to send Post Data to a Symfony Controller, but it doesn't work. When I send my data with AJAX, it is sending the POST data, but it is showing red link in the console with no error message or status. Here is my Javascript code: function addprivate(){ … | |
I have a small problem when I clone my editable div into my iframe. Each time I click on my code view button it copys the content from my editable div and then displays it in my iframe But each time I do that it copys the same content multiple … | |
If my slected text is wrapped in bold or iltalic or pre tag and then if i click on the revert button it should remove the tags around the selected text. But for some reason will not with my code. Question when I select/highlight some text and then click my … | |
I have a to-do list made in HTML, CSS and JavaScript, and I want to redirect to a website only if they are 0 elements unchecked remaining. I think that the code should contain "numRemaining". I have tried something in JQuery, but it was a total failure. This is my … | |
Hy there! I have a strange error to my prestashop. If I deactivate the module block contact without container the whole theme for mobile is ruined....Please see photo https://www.dropbox.com/s/1pst1w9ivuw4v3a/2016_01_03_12.25.10.png?dl=0 The error appears only to mobile and tablets. For desktop everything is okay. The same problem I get if I activate … | |
iam using laravel 4 ,am trying to pass a variable to a redirect back return `Redirect::back()->with('message','Message has been sent',compact('account','pageTitle'));` like you would have done with a View ` return Redirect::back()->with('message','Message has been sent',compact('account','pageTitle'));` is that posssible ??. | |
Hi, I am new to framwork, Now I started to learn Codeigniter. I have installed version of CodeIgniter 2.2.6, from the following link https://codeigniter.com/download I want to do a simple registration form with image upload , storing that image in a seperate folder, image name in to database, and with … | |
I want to show all data of the page in pdf but i have no idea how to do this . I am using php .Please help me to solve that problem. | |
what is the difference between client-side programming language and server-side programming language? Why javascript is only a client-side programming language, but PHP is a server-side programming language? I am a newbie starting web development and need some advice. | |
Hi Guys, I'm after a user interface element for ionic that operates like a cross between a range slider http://ionicframework.com/docs/components/#range and spinner. Essentially the 'button' or tag that you would drag from side to side in a range needs to stay in the middle, but as you swipe, the scale … | |
function EnableDisableTextBox(chkPassport) { var txtPassportNumber = document.getElementById("txtPassportNumber"); txtPassportNumber.disabled = chkPassport.checked ? false : true; if (!txtPassportNumber.disabled) { txtPassportNumber.focus(); } } <html> <body> <label for="chkPassport"> <input type="checkbox" id="chkPassport" onclick="EnableDisableTextBox(this)" /> Tab? </label>Tab Quantity: <input type="text" id="txtPassportNumber" disabled="disabled" /> <br> <script type="text/javascript"></script> <label for="shoes"> <input type="checkbox" id="shoes" onclick="EnableDisableTextBox(this)" /> Shoes? Shoes Quantity: … | |
I use this code to find time difference, alert(( new Date("1970-1-1 12:42 ") - new Date("1970-1-1 9:42") ) / 1000 / 60 / 60 ); it works in chrome, but in firefox it shows NaN error. How to solve this? | |
hey,i jave this code. how to check the textbox (mname) to accept only letters? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <link rel="stylesheet" type="text/css" href="mystyle.css" /> <!--- call my style --> <head> <title>Home page - MidermFaill2015 - Andreas Petrou</title> <!--- title of page --> <!--Andreas Petrou 8600--> </head> … | |
$mysql_hostname = "localhost"; $mysql_user = "root"; $mysql_password = ""; $mysql_database = "loan"; $connect = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Something went wrong..."); mysql_select_db($mysql_database, $connect) or die("Something went wrong..."); if(isset($_POST['btn_submit'])) { $datess = $_POST['datess']; $control = $_POST['control']; $payee = $_POST['payee']; if(!empty($datess) && !empty($control) && !empty($payee)) { mysql_query("INSERT INTO `sales`(`datess`, `control`, `payee`) VALUES … | |
Hi, I was hoping I can get some help. I've been searching and searching for a lightbox that works with SrcSet so I can display different images based on viewport width. Most to which I have found; don't support SrcSet but presentation wise, are exactly what I want, somewhat a … | |
Hi guys, I try to calculate number of month between 2 selected dates and i just got this code. The problem is this code calculate number of days and i try change the code from **var days = (end - start) / (1000 * 60 * 60 *24) ;** to … | |
function otherfunction (arg){ console.log(arg); } function executeFunction(otherfunction){ } executeFunction(otherfunction( "hello") ); This seems redudant , suggestions?? | |
hello , I running google map api with multiple select of category (checkbox), everything fine working , but I dont know how to link(when u click on marker) form market window to page , if my page loop , any examples or suggestion. | |
1) initially i have a row if the user click save & next button it will say you have 3 fields missing 2) if the user click the addmore button and he did not type any value in the text field then he click the save and next button it … | |
HI, In a page I load table in while loop with time duration calculation for multiple times. I want to display time difference in their respective rows. Here I included my code. <?php $a = mysql_query("SELECT * FROM user")or die(mysql_error()); $a_count = mysql_num_rows($a); if($a_count > 0) { ?> <table border="1" … | |
Trying what I thought was a simple way to extract html tags. In this example I'm expecting an array with 4 elements but I get only one... am I missing something? var htm="<a></a><b></b>"; var patt = /<.*?>/gim; var a = patt.exec(htm); alert(JSON.stringify(a)); Expected: ["<a>","</a>","<b>","</b>"] But I get: ["<a>"] | |
Hi, I need your help for forgot password decryption. When a user registers , his password will be encrypted using md5(); and When he sign in, I will encrypt his password using MD5() and I will compare it with value already stored in to table, My problem is, If he … | |
Hi, How we can know , a user requested for forgot password? | |
I'm experiencing an issue deleting data via PHP/MySQL query. The following is the error message: Delete product category failed. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 This is … | |
<h4>Both Product fix price. if checkbox is check and chose quantity automaticaly total</h4> <p class="one">Product Quantity</p> <div class = "checkbox"> <input type="checkbox" name="abim[]" id="tab_price" value="100" onkeyup="AutoCalc(this)">Samsung TV <input type="number" id="tab_quantity" value="0" onkeyup="AutoCalc(this)"><br/> <input type="checkbox" id="mineral_price" name="abim[]" value="200" onkeyup="AutoCalc(this)">SonyVaio TV <input type="number" id="mineral_qunatity" value="0" onkeyup="AutoCalc(this)"><br/><br/> Total <input … | |
hello i have an online gallery i used blueimp plugin to get the good features in it like lightbox and touch support ... you can look on it here : [www.aburaga.com](http://aburaga.com/en/gallery) as you see its a big cakes gallery with many categories and pagination ( i built it with codeigniter/php … | |
LightGallery is counting wrong number of images.. here is [jsfiddle code..](http://jsfiddle.net/jetnku0x/3/). In this jsfiddle i am append dynamical element with a div that is in html file.. Please check manually ... Why lightgallery is count wrong images ? | |
Hello DaniWeb Community, I have a question about changing the symbol of my tracker. I am using google.maps.SymbolPath.CIRCLE Can I change this to a image of mine? jpeg / png file If yes, How I can do it? Thank you and God Bless -Tap | |
<html> <body> <form action="#" method="post"> Addition 1: <input type="text" id="add1" name="add1" onkeyup="AutoCalc(this)" /> Subtraction 1: <input type="text" id="sub1" name="sub1" onkeyup="AutoCalc(this)" /> Addition 2: <input type="text" id="add2" name="add1" onkeyup="AutoCalc(this)" /> Subtraction 2: <input type="text" id="sub2" name="sub1" onkeyup="AutoCalc(this)" /> <label> Total</label> <input type="text" id="total" name="total" disabled="disabled" /> </div> </body> </html> <script> function … | |
Hy there... I have this problem and I don't know how to fix it....I didn't get help from the theme creator and I am asking your help:) In product list - list mode, I have the product with the ingredients and on the second row I want to put the … |
The End.