15,700 Topics

Member Avatar for
Member Avatar for Jon_7

I'm attempting to simplify my fundraising page, and would like to show exactly how much each donation would help us out. I've listed the options below, but I would like for the first two dropdown boxes to change the third one depending on the combination chosen. Fruthermore, I'd like for …

Member Avatar for rproffitt
0
329
Member Avatar for Mohammed_44

//The php section of the code <?php function getJSONFromDB($sql){ $conn = mysqli_connect("localhost", "root", "","rent"); //echo $sql; $result = mysqli_query($conn, $sql)or die(mysqli_error()); $arr=array(); while($row = mysqli_fetch_assoc($result)) { $arr[]=$row; } return json_encode($arr); } $jsonData= getJSONFromDB("select Pic from Display"); $jsn=json_decode($jsonData); //for loop to retrieve rows from database for($i=0;$i<sizeof($jsn);$i++){ $a=$jsn[$i]->Pic; //here is the main …

Member Avatar for network18
0
380
Member Avatar for MOHAMMAD_40

Hello, I am new to Javascript and I am having trouble with my assignment. I was told to create a simple "Grade Calculator" using prompt boxes It was fairly easy to make this "Grade Calculator" but there is only one problem that i cannot figure out. I was told to …

0
194
Member Avatar for davy_yg

Hello, I have been trying to hide and show css with button click: home.blade.php #container{ display: grid; grid-template-columns: 350px auto 300px; grid-template-rows: 800px 800px 800px; grid-template-areas: "menu cont sidenav"; position: fixed; z-index: 1; color: black; } menu { grid-area: menu; } cont{ grid-area: cont; background: white; padding: 50px; } cont …

Member Avatar for pty
0
380
Member Avatar for borgyborg

newbie here! I am working with a simple PHP form with few fields and few uploads. I want to use the Modal pop up form for this. Below codes are working fine. I was able to insert the fields into MYSQL successfully but I don't know how to add file …

Member Avatar for diafol
0
3K
Member Avatar for erum

<pre> hi every one I am working on vs 2012 and mvc 4 ,just small project , i need to apply theme( http://all-free-download.com/free-website-templates/download/magic_city_template_2087.html ) and remove default one ,can any one help me how to do this ?? </pre>

Member Avatar for mooine
-1
384
Member Avatar for Ivan_17

I use jQuery UI .droppable for dropping elements to divs. Now I need to prevent dropping to divs with class .box if they are not empty. if ($('.box').is(':empty')) { $(".box").droppable({ }); } But this makes all .box divs non-droppable whether they are empty or not.

Member Avatar for Ivan_17
0
439
Member Avatar for Hamsterking

hello danibe's friends i hope you all are doing well, i always had a question that i never asked so i would like my image to be full width not full screen just the width on any screen how can i do that without deforming the original image, have i …

Member Avatar for diafol
0
375
Member Avatar for yann.bohbot.9

Hi, I understand the fundamental of replacing from a <div> to a <button>. i am having trouble though adding an id to the replacement. example> say i have the following code: <div class="container"> <div class="inner first">Hello</div> <div class="inner second">And</div> <div class="inner third">Goodbye</div> </div> I am applying this jquery to replace …

Member Avatar for diafol
0
143
Member Avatar for diafol

Hi all. Been fiddling with an idea about combining setters and getters in PHP. I really don't like magic methods (`__get` and `__set`) as they're not very flexible (IMO), but equally bore myself to distraction with set/get methods. Anyhow, having used jQuery for some time, I really liked the non-verbose …

Member Avatar for diafol
1
409
Member Avatar for Alfred_6

How do I get an item in my drop down menu? I know with .value I can get the value of the item selected, but what I need is the name of the selected item. For example, I have this drop down menu with contains two items: Class 1 and …

Member Avatar for essential
0
288
Member Avatar for gentlemedia

I'm using this snippet to calculate the sum of two table cells. var sum = 0; $('.amount').each(function(){ sum += parseFloat($(this).text()); }); $('.sum').text(sum); But when the sum is for example 40.00 it displays as 40 and as picky as I am, i want it to display as 40.00. So... what to …

Member Avatar for gentlemedia
1
298
Member Avatar for skullscript

Hi Everyone, I am having a strange problem on my webpage. I am getting this Black shade whenever i type or focus my cursor on a select or text field. the strange thing is its only happen on a specific page and not to the entire system that i am …

Member Avatar for skullscript
0
343
Member Avatar for Link_1

I makeing a website using VB .net inside visual studio. I have a database where I am storeing names. Than I am displaying these names inside a table. here is a ex: ---------------- | dave | bob | | john | bill | ---------------- I was to add a button …

Member Avatar for RobinR
1
393
Member Avatar for dwlamb

Is it possible to attach a jquery autocomplete input to a form initiated by ajax editing a table? I have the following method for making a table cell editable using AJAX. I.e., user clicks on the cell and it transforms to a mini form. Hit Enter and the changes are …

Member Avatar for RobinR
0
497
Member Avatar for Nicht

I'm fairly new to programming so this question might be dumb. So what I'm trying to do is to create a new div with other divs and images inside it when I press a button. I've tried many things from other websites but they didn't quite do what i wanted. …

Member Avatar for RobinR
0
312
Member Avatar for Var_1

I'm currently developing a webpage that when user input the data needed in Advance Filtering and click on the button'Search Result',the table will show the data needed,but the problem is i get the error of DataTables warning (table id = 'DataTables_Table_0'): DataTables warning: To retrieve the DataTables object for this …

Member Avatar for Var_1
0
473
Member Avatar for RainaAnja

Something like: var loadUrl1 = '@Url.Action("Index", "Versus")?matchId=' + MatchID; How to pass these dynamic values using Url.action()?

Member Avatar for RainaAnja
0
169
Member Avatar for Irtaza Ijaz

I am following this **tutorial** to display **custom opacity control** in wordpress **default** color picker scheme, [Click Here](https://github.com/BraadMartin/components/tree/master/customizer/alpha-color-picker) i want my color picker looks like this, after adding opacity bar. ![dani.PNG](/attachments/large/4/735831d60c76788bcc1ce819a383ce49.PNG "align-center") I am using **twenteen seventeen theme** to display alpha color picker in the **apperence->customize->text**, but it is only …

0
211
Member Avatar for RainaAnja

<div class="list-group"> <div id="id1" class="list-group-item" data-target="@Url.Action("Index","DayilyProposials")" > <span class="badge" style="font-size:10px;color:#fff" id="DailyPropNumber">0</span> <span style="font-size:10px;font-weight: 900;font-weight: 900;">Daily Proposals</span> </div> <div id="id1" class="list-group-item" data-target="@Url.Action("HotG","home")"> <span class="badge" style="font-size:10px;color:#fff" id="HotGamesNumber">0</span> <span style="font-size:10px;font-weight: 900;">@index.Index.hotgames</span> </div> <div id="id1" class="list-group-item" data-target="@Url.Action("Index","home")"> <span class="badge"style="font-size:10px;color:#fff" id="TodayNumber">0</span> <span style="font-size:10px;font-weight: 900;">Today</span> </div> <div id="id1" class="list-group-item" data-target="@Url.Action("Index","home")"> <span class="badge" style="font-size:10px;color:#fff" id="ByTimeNumber">0</span> <span style="font-size:10px;font-weight: …

Member Avatar for diafol
0
380
Member Avatar for davy_yg

Hello, I wonder why the same code on different server causes tawk not working? On both of them, I install original prestashop template - which is belong to prestashop and free: Is not working on this server: http://ecommerce.advance-web-studio.com/index.php Is working on this server: http://ecommerce.fresway.com/ Can you guess why this code …

Member Avatar for diafol
0
410
Member Avatar for dsimonovski1

Hey. Any ideas on how I can apply a given text on a certain 2D object, so the text would follow the object shape? Imagine we have this object: http://prntscr.com/gmdv9w I want to be able to type some text in a textbox and have the plugin automatically place in on …

Member Avatar for AndrisP
0
326
Member Avatar for SimonIoa

Hello i want to put a shorten text-*SeeMORE* function inside another function $(function() { var showTotalChar = 200, showChar = "Show (+)", hideChar = "Hide (-)"; $('.show').each(function() { var content = $(this).text(); if (content.length > showTotalChar) { var con = content.substr(0, showTotalChar); var hcon = content.substr(showTotalChar, content.length - showTotalChar); var …

Member Avatar for diafol
0
406
Member Avatar for Irfan_9

I have static website I want to add web dictionary which run from server but not connected to internet.plz help me

0
114
Member Avatar for davy_yg

Hello, I am having coding error since my client fb_profile_image uses d'Fiens (this ' mark). How to change my script so that the error disappears? It causes my rotary menu disappears? http://dfiens-sewncraft.com/ profile_image = '<div id="fb_profile_image"><img onclick="showProfileInfo(this)" data-name="d'Fiens Sew N Craft" data-first_name="d'Fiens" data-last_name="Sew N Craft" data-email="percapolkadot@gmail.com" data-url="https://www.facebook.com/app_scoped_user_id/1692543144123148/" data-about="" data-gender="female" data-location="" …

Member Avatar for diafol
0
160
Member Avatar for tara_1

hi frinds. hope you are well. as i writte this writting im thinking about a my [site](http://Iraniantranslate.com) .... how can i introduce my site to other people? and how can i popular it in google search? best regards,

Member Avatar for cereal
0
227
Member Avatar for davy_yg

Hello, I am trying to write email confirmation with javascript: <div class="step"> <h4>Enter your email address:</h4> <div class="container"> <input type="text" name="email" value="Enter your email here" title="Enter your email here" class="field" /> </div> <h5>Step 2 of 2</h5> <span class="progress"><span style="width: 100%">&nbsp;</span></span> <input class="email-btn button" type="submit" value="Send" /> </form> </div> ... $('.email').click(function() …

Member Avatar for davy_yg
0
354
Member Avatar for idaryl

I have this form I've cobbled together from found sources and experimenting - its a page count copy calculator. Each page is worth 5¢, and the user enters the amount of pages to copy (first field) and the amount of copies needed (2nd field) *this may also need to be …

Member Avatar for diafol
0
343
Member Avatar for micahp20

can anyone send me a htlm code/template for "meet the staff" page or "about us" page if you look our site its not formatted correctly now is the moble version. Any help formatting or coming up with a generic template would be greatly appreciated.. https://www.astarsafety.com/about-us

Member Avatar for gentlemedia
0
265
Member Avatar for Mati_1

I have this code which highlights the selected table cell in green color by default. I am seeking help with a function where there will be three buttons for three different colors, so when I click one of these buttons, the default highlight color will change to that selected color. …

Member Avatar for Mati_1
0
346
Member Avatar for Hadeel_2

Using desktop push notification when the title and body written using right-to-left languages like Arabic language, the browser detect the language and change the direction even if dir and lang param not provided in the object the new notification is created for example: ![bug.png](/attachments/large/4/205e6cd409e97bf2495c59adfc2e5477.png "align-center") The title is under the …

Member Avatar for cereal
1
285
Member Avatar for Violet_82

Hi guys, I'm fairly new to angularjs 2 (I've only used 2) and I have a small application with a form. Currently I'm able to get the form data as an objects and print it to the console.log, onSubmit(form: any):void{ console.log(form); } producing this: Object {author: "Author test", title: "Title …

Member Avatar for Violet_82
0
357
Member Avatar for davy_yg

Hello, I wonder why I keep failing saving data. I keep getting this message: "please fill the title and content article" - eventhough I already fill them in. article.blade.php <div class="backend-form create-article-form" style="display:none;"> <div class="form-top"> <div class="form-left"> <h4>Create Article</h4> </div> <div class="form-right"> <a href="#" class="btn-save-article setting_save"></a> <a href="#" class="btn-cancel-article setting_cancel"></a> …

Member Avatar for pixelsoul
0
286
Member Avatar for Mr.M

Hi DW. I have built a website using Mobirise and now what I want to do is to enable the site to accept comments from people and also display them on the page on the section COMMENTS, now the problem is that I want the comments to use the themes …

Member Avatar for Mr.M
0
324
Member Avatar for Johnson_7

Hi Dynamic Dependent Select Box last one not working Bank,State,District is working branch ont working please check below code Please help. index.php <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> .select-boxes{width: 280px;text-align: center;} select { background-color: #F5F5F5; border: 1px double #FB4314; color: #55BB91; font-family: Georgia; font-weight: bold; font-size: 14px; height: 39px; …

0
221
Member Avatar for SKANK!!!!!

i know how to do the link thing that if u click it it closes the window. but im wondering if theres a way to automatically close a window after the php code is done running. cause i have an inbox and theres a link to delete the message if …

Member Avatar for sajjadhira
0
47K
Member Avatar for davy_yg

Hello, I am receiving this error message while trying to process the following javascript - "Error, the configuration is failed to save". What might be wrong? How to troubleshoot the javascript? partial/setting.blade.php function onSave(el) { var parent = $(el).closest("li"); var form = $(parent).find("form"); var editel = $(parent).find(".edit_form"); var beforeText = …

Member Avatar for pixelsoul
0
289
Member Avatar for abdu_4

Hey guys, i need your help. I want to embed this JavaScript code in Html, but i don't know how. Can someone please help me? The Code is Below: var JavaScriptHighlightRules = function(options) { var keywordMapper = this.createKeywordMapper({ "variable.language": "Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|" + // Constructors "Namespace|QName|XML|XMLList|" + // E4X "ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|" + "Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|" …

Member Avatar for pty
0
80
Member Avatar for SimonIoa

Hello, the functions are called in the XHR (status 200) but dont return anything as it should,. Even when i put an echo it doesnt return the echo. The path is correct example javascript function userDetails(uid,apiBaseUrl,baseUrl,public_username,msgID,groupID) { var encodedata=JSON.stringify({"uid": uid,"public_username":public_username,"msgID":msgID}); var url; url=apiBaseUrl+'api/publicUserDetailsTest'; ajaxPost(url,encodedata, function(data) { if(data) { some code.... …

Member Avatar for pty
0
282
Member Avatar for peace_coder

**Hi, everyone** I need little bit help related to creating Coupon script. Let me explain my idea, for example I have 100 coupons and I want to give each one to only one customer. And I want when one cupon is loaded next time it dosen't load. Let say Coupon …

Member Avatar for pty
0
693
Member Avatar for Mugiwara

I want to see the penalties updating, but it's only see after you click the return button and wait for one day again that it will show the penalty. <?php $user_query=mysqli_query($dbcon, "select * from borrow LEFT JOIN member ON borrow.member_id = member.member_id LEFT JOIN borrowdetails ON borrow.borrow_id = borrowdetails.borrow_id LEFT …

Member Avatar for rproffitt
0
468
Member Avatar for abdu_4

Hi I'm trying to make a website. But I need to make a syntax highlighting program that Categorize commands based on what they do. For example, when i type a code in C/C++ or Java on my site, the colors will become highlighted instantly. One group would be I/O, another …

Member Avatar for pty
0
346
Member Avatar for Royal_3

hi admin or others i want to use this script to display trading comment with number of comment in post eg 54=”veryhot” please check this script and correct error thanks <script> function myFunction() { var count = <?php echo $comment_num; ?>; if (count>=10) { document.getElementById( "Trending!!" );} else if ( …

Member Avatar for Cristian_1
0
260
Member Avatar for Wytse

Hello, I'm trying to get a javascript to work, unfortunately i'm not that good with javascript. What i'm trying to make is the following: I have 3 input fields: Total amount of dossiers: Total amount of cleared dossiers: Total amount of filed dossiers: The first one is the total amount …

Member Avatar for Wytse
0
886
Member Avatar for seularts

I have a straight forward form sprinkled with a bit of jQuery, but I have a small issue. When I hit Next button it goes to the next step without popping up the small field with "you have to complete this required field". How can I force the next button …

Member Avatar for Haji Sameon
0
2K
Member Avatar for Var_1

Hi guys, I have a form that have below condition: 1. when the "Printing Form" button is clicked,the form will popup and prompt user to fill in the required details 2. when the "Complete"button in the table is click,the same form will be popup and prompt user to fill in …

Member Avatar for pty
0
375
Member Avatar for Var_1

Hi all, I had created a function updateprintingqc() that work like this 1. user will click on a clickable button to update the data 2.when user click on OK,the dummy data will be create based on the main data shown in below image's link https://drive.google.com/file/d/0B46VQHVMeBTNMzVodDRxZEw3dGs/view?usp=sharing When the user click the …

Member Avatar for arunmagar
0
2K
Member Avatar for seularts

I tested over and over and it seems there is something conflicting between these 2 scripts: bootstrap toggle and jquery validator. If I remove data-toggle=" toggle" the checkbox is required for validation, otherwise it just passes regardless of being checked or not! <form id="regiration_form" action="action.php" method="post"> <h1></h1> <fieldset> <h2>Pasul 1: …

0
400
Member Avatar for Jon_7

I'm not extremely great at coding, but I'd like to have players in my basketball program be able to copy and paste some code (on their phones) from a textarea. The catch is I also want the button to turn green and say the words "Copied! Now open the app …

Member Avatar for pdsubbu
0
393
Member Avatar for bisibee88

As per question, I would like to find the future date based on a given number of days. It should exclude weekends and holidays that is stored as array. Have this code below but the future date generated is incorrect. Any suggestions? var holiday = []; holiday[0] = new Date(2013, …

Member Avatar for rubberman
0
5K

The End.