15,121 Topics
| |
[http://jsfiddle.net/re2af/193/](http://jsfiddle.net/re2af/193/) Does anyonw know how I can add some pre-filled data to this table? I've commented what I'm trying to do but bascially: Click add item button > creates new row with prefilled data (eg test - test - 1 - 1 - £1) > adds the whole thing to … | |
I am dynamically adding Child DIVs to a Parent DIV, but appendChild() inserts the new child DIV at the end and I want new insertions to be at the top. I understand inserBefore(), but initially there are no children in the DIV. Is ther an easy way to do this? | |
How to create radio button using JavaScript | |
Hi In my table , I have date of birth value like 1991/10/21, I want to display that date of birth like: 21/10/1991(Twentynineth October One thousand Nine Hundred Ninety Nine) date of birth in numbers and in Characters also. How to do that, it has to do dynamically? | |
if user select on first select menu then it display a table if user select second select menu then it display paragraph both are show on same page so any one suggest me some jquery code . | |
Ok so im looking to create a simple booking system as part of my Final Year Project. I have a locally hosted mySQL database created and linked to using php. I have created a databse called reservations with 3 tablels (Available, reserves and confirms). Basically what I am looking to … | |
Please help me how to do click button to display select box. at the same time add and remove select box | |
Hi All, I have written small slideshow script in Javascript with slice effect. I did functunality such pause function on mouseover. but when i mouseover the slide it crashes (if slice effect had gone it stops normally). what may be the problem. can anyone help me plzzz. Thanks in advance. … | |
Please how do I reload a PHP function in a div using jquery? Any idea? | |
Hey guys, been a while since I've been here, but still the best source for help. Hoping you guys can help me with a checkbox/radio button scenario. HTML... <div style='margin-bottom:5px;'> <div style='float:left;width:49%;text-align:left;'><input class='toppingChecked' type='checkbox' id='top-".$row['id']."' value='".$row['topping']."' /> ".$row['topping']."</div> <div style='float:left;width:7%' class='lblLeft'> <input type='radio' class='css-checkboxLeft countToppingSelect' name='top-".$row['id']."' id='top-left-".$row['id']."' value='Cheese' /> <label … | |
So I have my PHP code here: $r = new HttpRequest('https://api.worldoftanks.com/wot/auth/login/', HttpRequest::METH_POST); $r->addPostFields(array('application_id' => 'e991ff783ae65f1ceefd1036211e5772', 'redirect_uri' => 'http://www.wotclanbuilder.com', 'nofollow' => 1)); try{ $result = $r->send()->getBody(); $json = json_decode($result); $url = json_encode($json->data->location); echo $url; } catch (HttpException $ex) { echo $ex; } and my Ajax code here: // AJAX Code To … | |
i have an echo statement. which am looping columns. and i want to use this onerror command <img src="http://subinsb.com/to-an-image" onerror="this.src='img/delogo.jpg';"/> but not working. how do i do this. thanks echo ' <div class="col-lg-5 col-md-5 col-xs-12"> <h4 class="font_head_check">' . $title . '<span class="box_type_unik">For Sale</span></h4> <p class="font_check">' . $town . '</p> <span … | |
I have the below data and I would like to find out how many sets I have and how to access each key value pair in javaScript. response[ {"RECORD_NUM":967,"DATE_FIELD":"1736-01-19","DESCRIPTION":"James Watt, inventor of the steam engine, was born in Scotland."}, {"RECORD_NUM":1002,"DATE_FIELD":"1747-01-19","DESCRIPTION":"Johann Bode founder of \"Bode's Law \" dies"}, {"RECORD_NUM":1111,"DATE_FIELD":"1770-01-19","DESCRIPTION":"Battle of Golden … | |
This [script](https://jsfiddle.net/WildWind/cnbj069x/17/) won't change the image id when the browser width is 320 ? I'm hoping someone can help ? | |
Hi , I need a calculation method to calculate multiple marks for an Individual students. Based on standard id and section id I showed list of students, and subjects dynamically, so that, for each student n number of subjects will display. When entering marks, for each student and for all … | |
I have been working on a web application that requires a calendar that will display events along with information about them. I have been using the full calendar API to handle the calendar for me. But I whenever I have an event that spans across multiple days the calendar does … | |
Greetings, I am developing a backend website using ASP.NET. I had a 3 GridView controls within the page. I am using the jQuery to add a CSS class to third column of the 3 GridViews when the page in ready as I tried to add this class by setting the … | |
In a site I am working on two of the pages have an iframe being loaded. [code] <IFRAME id="someid" src="http://www.trailblz.info/barkleydean/signup.aspx?rd=http://www.senatorbarkley.com/signup-thank-you.htm" width="700" height="1400" frameborder="0" scrolling="No" style="position: relative; width: 700px; height: 1400px" target="_blank"> </IFRAME> [/code] This works fine but the "Thank you" page loads at the top of the frame but the … | |
Hi In a form, I have two divs like in left and right but only one submit button . I don`t know how to save in submit action. Submit button has to come in center. Here I included my code . Check and tell me <form action="usersave.php"> <!-- class="form-horizontal form-label-left"--> … | |
Hi Guys, Happy new year for everybody. Look i'm trying to achive a goal to load iframe on bootstrap modal dinamical. Like i just want the iframe src be called just when modal is opened. Because the src url is coming from database, and in some page there more than … | |
I have a rss feed project that I am working on Question: I would like to know if there is a way of only displaying 5 result at a time. Currently it displays over 10 [Codepen Example](http://codepen.io/riwakawebsitedesigns/pen/mVMEmO) $(document).ready(function() { url = 'http://codepen.io/riwakawebsitedesigns/public/feed/'; $.ajax({ type: "GET", url: document.location.protocol + '//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=1000&callback=?&q=' + … | |
Is it possible to update "only the markers" instead of updating the whole map and markers... as the long lat updated in mysql database. Anything that I need to modified on the script below. <? $dbname =''; //Name of the database $dbuser =''; //Username for the db $dbpass =''; //Password … | |
Hello, Just created a website and want some animations so i used keframe animation in order to do so on 1 row I made an animation for the portfolio to scroll up and stop right there but it goes again at the starting point like 1 to 100 once on … | |
Hi Guys Im trying to search in a textbox on my form and its value will load on the table. But I cannot get how, and also what should I use, I only know PHP and simple Javascript, Please help me. I only want to know on how can I … | |
Currenlty on my editor I can wrap text in any tag. But I am un able to unwarp the selected text also. My question is lets say if I select / highlight text which is wrapped in '<b>' something '</b>' and then I go and click on the bold button … | |
I am having small issue with my code mirror preview. For some reason will not dectect when new line is created in editor. Question: How to make sure that the code mirror preview dectects a new line and displays it correctly? [Codepen Example Here](http://codepen.io/riwakawebsitedesigns/pen/mVmxpp) Script <script type="text/javascript"> $(document).ready(function() { var … | |
Hello everyone, I want to build an advertising system like AdSense on my website. I want to count only clicks that are not from the same user. Because I don't want the user to click many times on the same ad and ruining the ad program. I was thinking of … | |
So I have the following code: <script> function validateForm() { var homePhone = document.forms["volForm"]["hphone"].value; var mobPhone = document.forms["volForm"]["mphone"].value; var workPhone = document.forms["volForm"]["wphone"].value; var ehomePhone = document.forms["volForm"]["ehphone"].value; var emobPhone = document.forms["volForm"]["ehphone"].value; var fname = document.forms["volForm"]["fname"].value; var lname = document.forms["volForm"]["lname"].value; var digiSig = document.forms["volForm"]["digiSig"].value; var digiSplit = digiSig.split(" "); if((homePhone.length == 0 … | |
I would like to know if possible to be able to replace any html character that are inside my pre tag's <pre> replace < with < and this > with > </pre> so it does not affect my pre tag's $('button[id="instant_preview"]').on('click', function() { var code = $('#editable').text(); $('#preview').html(code); replace('<',"<"); replace('>',">"); … | |
Below is a php code for inserting comment to a post, It works fine now I want to add ajax code to add comments live (without page being refreshed). I prefer ajax code and php code on same page because code will be carrying id's of users so don't want … |
The End.