I am having a Password textbox which will have empty value. when the user clicks on it and enter password, onblur of the textbox, the password will be updated the database.
I have done that using ajax but i want to know whether any security hole in this script. am afraid the data we are sending from ajax() function can be changed using...
Hi,
I have an HTML as following:
<html>
<head>
<style type="text/css">
a {color: red}
</style>
</head>
<body>
<div>
<html>
<body>
<a href="#">Test Link</a>
</body>
</html>
</div>
</body>
</html>
"Tes...
Hi,
I have a page which lists the Employee. In the left side of the list i have checkboxes to select. So, i have Select all checkbox also in header.When i click on select all check box it will selects all check boxes below. But i have javascript in onclick event for checkboxes in down not for select all checkbox. when i select all the ch...
Hi, i have a web application built with HTML(front-end),java(server-side)
and i have a textarea when posting some data with line breaks (pressing enter after a word)
the line breaks are not reserved (the data appears next to each other with no line breaks)
how to preserve the line breaks ?, note that i am not using the tag when displayi...
Is it possible to track a child window if the parent page is reloaded?
I currently open the window like so:
var childWindow;
childWindow= window.open('url...');
and when I want to reopen the same child window I do
childWindow.focus();
The obvious problem is that if the parent window is refreshed then it loses track of the chi...
Just working on some Spark view engine ASP.Net MVC code. Simplified example (but I've probably written same thing a few times over in similar style). Just doing of thinking..
<content name="main">
<ul>
<for each="var userViewModel in ViewData.Model">
<li>
<ul>
<li>${userViewModel.Identity}</li...
Note: The input HTML is trusted; it is not user defined!
I'll highlight what I need with an example.
Given the following HTML:
<p>
Welcome to <a href="http://google.com/" class="crap">Google.com</a>!<br>
Please, <a href="enjoy.html">enjoy</a> your stay!
</p>
I'd like to to convert it to:
Welcome to Google.com[1]
Please, enjoy[2...
I have a page source and i want to get the anchor text of all its anchor tags
Could someone please help me out with the pattern for it.
Thanks in Advance
...
Let me start off by saying I really like Superfish (& jQuery). Unfortunately, this - apparently? - does not offer cross-frame support out of the box.
Situation: extranet website, consisting of 2 frames, divided horizontally. The top frame (the smallest one) contains a menu. When hovering over this menu, the "drop down" content gets disp...
I have a image gallery, my requirement is to apply diffrent image sizes to all image
my html markup is
<div class="post-attacthe-img">
<ul>
<li><a><img src="1.png"/></a></li>
<li><a><img src="2.png"/></a></li>
<li><a><img src="3.png"/></a></li>
<li><a><img src="4.png"/></a></li>
<li><a><img src="5.png"/></a></li>
<li><a><img src="6.pn...
I am rendering a html table using javascript & jQuery. The aim is to show a colored box (table with colored td) if there is a color supplied by parameter. If not then show nothing (so i am showing empty table with ). But for both these cases I do not want to show any border. I want a flat color box / empty white box.
if (colors == null...
I'm using a HTML form's TEXTAREA field that will contain text and it may can contain itself some HTML tags.
I have read here that this should be managed using htmlspecialchars function, however this will show the HTML tags in a way it will be quite difficult to allow easy editing of the HTML code into the form TEXTAREA.
What is the safer...
hi
i want to know zoom plus and zoom minus and rotate the image in iframe.
thanks in advance;
...
Hi,
I'm using the 'timepickr' jQuery function, the problem is it works ok in the main webpage, however when I invoke it through an AJAX call, the funcionality is non-existant. The input box is displayed fine, but the mouseover funcionality isn't there. Code I'm using as follows....
This is the page that contains the "div2" div: Note...
I have a link inside a div that floats to the right of the screen. The link does not work in FF or Chrome, but works in IE (have only tested with IE8).
The simplest example looks like this:
<html>
<head>
<title>test</title>
<style type="text/css">
#logo {
left:10px;
float:left;
top:10px;
}
#feedback {
float: right;
}
ul#menu
{
...
One part of web application is local digital signing using activex component. But I want to display a PDF that gets signed beforehand and after. Since documents can be quite large I would'n really want uploading them and then again downloading for displaying.
Therefore I wanted to embed a PDF using local path (eg. file:///) but Adobe th...
Video plays fine, but the controls (play, stop, rewind etc.) don't appear, despite setting the "controller" parameter to "true".
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="320" height="260">
<param name="src" value="myvid.mov" />
<param name="controller" val...
I'm trying to figure out something having to do with the behavior descibed by this old question from last year. I've got a form with a single input text field, and a single "submit" button. Unlike the person who asked that question, I want the form to submit when the user hits "enter". Indeed, that's working for me; what's not working ho...
After setting the height of some element (say a div) to auto, still can I get the height of this div in pixel or may be in some other units
...
Hi
so I have a css file, style.css. in the same directory I have the images/ folder.
How can I make a script that compresses style.css, but from another folder?
Right now I have this:
<?php
if(isset($_GET['css'])) $file = array('url' => htmlspecialchars($_GET['css']), 'type' => 'text/css');
if(isset($_GET['js'])) $file = array('ur...