I have a Razor page that allows users to add a variable amount of attendees to a meeting object. On the page, there is an "add attendee" button that inserts the textbox onto the page and increments the subscript so that the model binder can pick
I have been fiddling with aligning an input filed next to a slider and I hve not have any luck. FIDDLE Please take a look at my fiddle. <div id="slider1"></div>SME<input id="box2" class="form-control input-sm"
This may not be a question related to programming but I am still asking this since I am banging my head a lot on this issue. I am finding a lot of HTML5 & CSS3 features useful for my website designing. But as usual (like all developers) I am confused
I am fairly new in programming. I use following code to submit a form: <form action="" method="post" class="label" id="form1"> <span id="sprytextfield1"> <label>Ονομα* <br /> <in
I have two tables. I want to take last column of table3 and put in to table4 eg:- table3 Names Process_id total construction 1 1111 construction_1 1 0000 engineering 1 2222 permitting 1 3333 eg:- table4 Names Process_id construction 1005 engineering
Hi i am used brightcove video my html page light box pop up. click image successfully popup brightcove video. my query is click thumbnail image image popup and auto play brightcove video.thanks for your feature help. Script: $(".thumb3").on('cli
I have a site where I have a single row of navigation items. When I reduce the page width items drop onto a second line. Having seen the BBC's very clever solution to this which creates a 'more' dropdown when the page is too narrow to hold all of the
I need to use the select2 object in my form. This is my form http://i.stack.imgur.com/jVILq.jpg There are many select html objects. For instance If I would like to change the Customers select box into a Select2 object I have written this little snipp
I'm working on a site here: http://mccarronandco.com/newsite/modena.php They've now decided they want the pictures to fade in when you click a thumbnail rather than just have the image switch. The current code is: <div id="mainimage"> <
I built a touch/mouse friendly jQuery plugin. It works on phones(ios, android...) and desktops browsers. But i have some issues with Windows 8 Chrome installed on laptop with touch screen. Unfortunately i dont have such a device and cant do any tests
I'm using AJAX call and I'm generating this JSON object which is sent back to JavaScript. When I receive it in the JavaScript I'm not able to get values from it. PHP: echo json_encode(array("results" => array(array("user" => $mem
Here's an example of an alert I'm using: <div class="alert alert-error" id="passwordsNoMatchRegister"> <span> <p>Looks like the passwords you entered don't match!</p> </span> </div> I know that $(&qu
What I wanna do is have a default success function which all requests will go through and then a specific function with stuff for individual calls. Something like function handleResponse(data, func){ if(data.error){ display error information }else{ f
I managed to create a partial view with jquery for a popup dialog to show a create form, now my next problem is how to use the Esc key on the keyboard to return the page before the pop-up. I tried creating a close link/button and well it worked but I
The code below works prefect in visual studio 2010 but doesnt work on visual studio 2008, if there any others exception that i miss out? what else i should check for in order to know what am i missing? Noted* i can only received alert(starting) but n
I am getting data from an MySQL database through PHP. I am sending the and getting the data from PHP using jQuery. Here is the code. $.POST("SubmitCode.php", $("#questionCodeForm").serialize(),'json').done(function(data) {}); Now the p
I would liek to use jquery to find every single instance of a strong tag within a p tag, and add a class to the p tag like so: <p><strong>Bold Text</strong></p> will become <p class="hasStrong"><strong>Bold Te
The following is an Area Range chart which has a gradient. http://jsfiddle.net/gXpHH/1/ What I want to do is have the gradient follow the curve, so that the color at any point along the bottom line is the same, and it ends at the same color when it r
Hey i still need a little bit of help with the rating system but i have a problem checking if the cookie exist this is <?php $rating = new ratings($_POST['widget_id']); isset($_POST['fetch']) ? $rating->get_ratings() : $rating->vote(); class rati
I am trying to make a small store map with a pointer on it showing the location in the store. I have created this using jQuery and it works perfect in Chrome. Yet, in Firefox and internet explorer, the pointer is positioned behind the map and it is i
I have two elements, a right menu and a pagination menu. Both menu's contain the same href links. Right Menu <ul class="right-menu"> <li class="menu-item"> <a href="#p1">anchor link one</a> </li>
I'm trying to program an online experiment which posts some data using jQuery and ajax to a PHP script which saves the data to the text file, and I'm having some issues. The script works fine when the data I post is small (say 2kb) and will correctly
Ideally I would like to be able to make the event target all p.hiddeninput, which do not also have the specific ("." + this.id + "Y") class, within the parent div of the radio buttons. I have tried using the .parent() selector without
I am trying to change HTML code within an IFrame (it's on the same domain), but for some reason, this line, wont change the html: $('iframe').contents().find('#weergave_afstand').innerHTML = afstand the text it should modify is the following: Afstand
I have a view file(.cshtml) with this C# block in top of file: @{ List<string> selectedCategories = new List<string>(); } well I want to use the selectedCategories list in the following javascript block @section scripts{ <script src=".
I am creating a dynamic table like below on page load after fetching data from database <table border="1" id="tableView"> <thead> <th></th><th>ID</th><th>Name</th><th>Description<
I am trying to create a compact image gallery using the Roundabout plugin. The carousel should rotate the thumbnails and, only for the image currently on focus, open the larger image in a Fancybox popup when clicked. This is how the markup looks like
Is there an inexpensive way to reverse: { "10": "..." "11": "...", "12": "...", "13": "...", "14": "...", } so that I get: { "14": "..."
I made a php/ajax/mysql/json script for my site, to show all the tags. If I GET the page id it will show me all the tags of that page. But! In my main page i'd like to show all tags, from all pages WITH a counter. For example if I tagged 4 pages with
I am trying to load Google custom XML search results into a PHP page and then manipulate the XML using JQuery. I understand that I can't use javascript to grab the XML file as it's on an external domain but can I use PHP to grab the XML from the serv