15,698 Topics

Member Avatar for
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
381
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
142
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
408
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
287
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
297
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
342
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
392
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
495
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
472
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
168
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
210
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
378
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
405
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
112
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
352
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
340
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
264
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
345
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
355

The End.