15,698 Topics
![]() | |
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 … | |
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 … | |
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 … ![]() | |
<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> | |
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. | |
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 … ![]() | |
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 … ![]() | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
Something like: var loadUrl1 = '@Url.Action("Index", "Versus")?matchId=' + MatchID; How to pass these dynamic values using Url.action()? | |
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.  I am using **twenteen seventeen theme** to display alpha color picker in the **apperence->customize->text**, but it is only … | |
<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: … ![]() | |
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 … ![]() | |
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 … | |
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 … ![]() | |
I have static website I want to add web dictionary which run from server but not connected to internet.plz help me | |
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="" … ![]() | |
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, | |
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%"> </span></span> <input class="email-btn button" type="submit" value="Send" /> </form> </div> ... $('.email').click(function() … | |
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 … ![]() | |
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 | |
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. … | |
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:  The title is under the … | |
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 … |
The End.