17,114 Topics
![]() | |
hi programmers in the code below i want to use font awesome in comment out put , storyReactionNum >= 4 ? comment = 'HOT <i class="fa fa-star" aria-hidden="true"></i>' but the font awesome is display as text ,here is the full code <div class="comment-info"></div> <script> var storyReactionNum = {{STORY_REACTIONS_NUM}}; var comment; … | |
Hi all. I need some help. I want to display username after user has login. I am currently using Visual Studio and Javascript. Not using any PHP page. What should i do? This is my home.html page: <!DOCTYPE html> <html> <head> <!--Customize the content security policy in the meta tag … | |
i write certain piece of code using mvc 4 and jquery and jtable ,but data is not visible in grid ,only blank grid is present , (No data available!) although i have updated all references of jquery in vs 2012 , action method is showing 3 records at quick watch … | |
<!doctype html> <html lang="en-US"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Empathy</title> <link href="template.css" rel="stylesheet" type="text/css"> </head> <body> <div class="container"> <header> <a href=""> <h4 class="logo"> <img src="page-1_2.png" width="113" height="28" alt=""/> </h4> </a> <nav> <ul> <li><a class="Abouth-Empath" href="empathy.html#about" >About Empath</a></li> <li><a class="How-It-Works" href="empathy.html#How">How It Works</a></li> <li> <a class="Contact" … | |
I tried to run an Ionic 3 project from existing files using not C++ but Apache/Cordova and i am getting these errors. Idid a Typescript project works fine. But Cordova won't run with Javascript? Severity Code Description Project File Line Suppression State Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various … | |
Hey guys what do you think is the best website performance analysing tool available? Where can I get it? The site I'm looking to analyze : https://www.sellist.com | |
I'm new to the forum and new to web development, I have an ecommerce store on prostores and I recently purchased a PHP based 5 star review script for my website. I then gave it to my web developer to implement it and he came back to me saying that … | |
I am trying to make a collapsible treeview using react such that when a particular checkbox is checked/unchecked, all the child nodes expand/collapse. I would appreciate some help hiding the child nodes in the tree. I don't understand where to insert the *'isibility* attribute I have here. Here's my code. … | |
I facing a problem with checkbox value that already exists inside the database. so how can I retrieve those value into another database table? The table subject and service below is what I want. But based on the code below the SERVICE TABLE on SUBJECTID COLUMN producing null value. How … | |
When click the map icon for loading the map, map show the error, Please solve the error | |
We are making a ajax request (XMLHttpRequest) over https. The browser is Google Chrome and server has a self signed certificate. Once in a while, the request returns a response with readyState = 4 and status = 0. On refreshing the page, everything working fine. Is this a google chrome … | |
Hello, I wonder why I cannot hide pages with Jquery? home.blade.php <li> <input id="c10" type="checkbox"> <label for="c10"> <!-- <a href="#" @click.prevent="togglePage()"> --> <a href="{{ action('HomeController@getArticles') }}" id="hide"> @if($uri=="home/articles") <!-- <img src="{{url("")}}/images/button-10-hover.png"/> --> <div id="circle1"><div style="margin: -10px 0 0 0;"><img src="{{url("")}}/images/add/icons5-hover.png" width="30px" /></div></div> @else <!-- <img src="{{url("")}}/images/button-10.png"/> --> <div id="circle1"><div style="margin: … | |
Hello, I wonder why my ckeditor occassionally hang. Like I cannot type any text in it when it is hang. Here is the error when it is hang: ckeditor.js:438 Uncaught TypeError: Cannot read property 'getSelection' of undefined at CKEDITOR.dom.selection.getNative (ckeditor.js:438) at new CKEDITOR.dom.selection (ckeditor.js:436) at a.CKEDITOR.editor.getSelection (ckeditor.js:434) at new CKEDITOR.plugins.undo.Image … | |
Hello ! I have a task from my university that bothers me and I definately need some help. I have to create a web app in which i can add locations from the world map by taking the coordinates and make route between two selected locations from the added. Also … | |
hello, i'm having trouble with jquery navigator i don't think the problem is my code <script> $(document).ready(function(){ alert( "welcome"); alert("twice alert"); }); </script> in chrome i have this error: Uncaught SyntaxError: Unexpected token < in firefox i have this error : SyntaxError: expected expression, got '<' i looked on astackoverflow … | |
this code snippet works fine on its own but as soon as it's added to Magento it doesn't work. Anyone have any thoughts? <!-- Start Edits --> <script type="text/javascript" src="jquery.autocomplete.js"></script> <script type="text/javascript" > //<![CDATA[ var jQuery = jQuery.noConflict(); jQuery(document).ready(function() { jQuery("#antique_toys_materials").keyup(function() { var tag = jQuery(this).val(); if(tag != '') { … | |
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 … | |
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 … | |
//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 … | |
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 … | |
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> … |
The End.