Hi all,
Please suggest ways and tips to prevent hacking in a site.I m using jquery at client side and jsp/servlets with apache server.I will be using credit card deduction through my site.Please suggest ways.
...
Hi my code returns all the html of the iframe. I would like just the body html. Any one know how to amend to suit?
Code:
alert( $("#uploaderIframe").contents()[0].documentElement.innerHTML );
...
As the title says: is there any way to change the "*" or in some browsers a bullet that appears in password fields in HTML?
thx
...
Hello, I have a (semantically incorrect) HTML like this:
<ul>
<li class="year">2009</li>
<li><a href="project1.html">Project 1</a></li>
<li><a href="project2.html">Project 2</a></li>
<li><a href="project3.html">Project 3</a></li>
</ul>
<ul>
<li class="year">2008</li>
<li><a href="project4.html">Project 4</a></li>
<li><a href="project5....
Hi i have the following
<script type="text/javascript">
$(document).ready(function () {
$("#uploadSubmit").bind("click", function () {
//edit below to suit
var src = "uploader.php";
//end
var results = '<iframe src="' + src + '" name="uploader" id="uploaderIframe"></iframe>';
...
So there's no shortage of information out there on rounded corners and I've been through much of it and I'm posting to get the opinions of the communities on this point.
My scenario is that we're developing a rounded corner dependent design, mainly used for interactions (<button> and <a>). We are going to use border radius for the good ...
I have three radio buttons with same name and different values.When I click the third radio button the checkbox and textbox going to be disabled.but when I choose other two radio buttons it must be show.I need the help in Jquery.Thanks in advance....
<form name="checkuserradio">
<input type="radio" value="1" name="userradiobtn" id="...
Long question
Is it possible to add a DOM element only if it does not already exists?
Example
I have implemented the requirement like so:
var ins = $("a[@id='iframeUrl']");
ins.siblings('#myIframe:first').remove().end().parent().prepend('<iframe id="myIframe" src="'+ins.attr("href")+'"></iframe>');
Is it possible to replace the se...
Im trying to add an element to a database and then return a new id for it based on the the sql_insert_id
Its adding the element correctly and the console is returning the id i want to use but for some reason its not actually changing it on the element.
Im just using an echo in my actions.php script to return the string.
$(".add").clic...
Hi
I have an action method that takes in two different objects.
I am posting JSON to the action using jquery, to do this I put all the properties i want to map to my two objects in the one Json object.
This works correctly and maps to the two objects in my action!
I want to be able to pass Json and map to a list of objects? is this po...
I would like to know if I can use the following JQuery function on a item id located inside a JQuery Dialog.
$('#idofmyfield').val()
Didn't return anything.
...
I attach a click handler to a button on my page. Is there anyway to find out what code is using jQuery?
$("#dreport").click(function() {
var str = "hello";
});
Is there a anyway to get the var str = "hello" in the firebug debugger, or anywhere?
I've tried alerting:
$("#dreport").attr("click")
But I only see [native code] where t...
I'm having some IE7 (and presumably IE6) issues with the script.
<script type="text/javascript">
$(document).ready(function(){
$(".testimonial:first").show();
$("li.testID:first").addClass("selectedName");
$("li.testID").click(function(){
$("li.testID").removeClass("selectedName");
$(this).addClass("selectedName")...
I'm looking at creating something like this:
http://konigi.com/interface/kontain-search
I don't suppose anyone has any resources which could guide me? I know I'm not giving much information but I wouldn't know where to start looking.
Cheers!
EDIT Sorry, I meant just the drop down / input box, nothing else on that site.
EDIT AGAIN...
I need to be able to select the root element without knowing the node types, class, id or hierachy.
<div id="0">
<div id="0a">
<div id="a01"></div>
</div>
<div id="0b">
</div>
<div id="0c">
</div>
</div>
I want to be able to do something like $(':root') and have 0 selected in the example above.
Better ...
i have following data to save in database using php
my data is : 12 ÷ 5
i have following code
$.ajax({
type: "POST",
url: "add_proc.php",
data: "topic="+ encodeURIComponent(field1)
when i check value of field1 in firebug its same (12 ÷ 5)
but when value save in database is 12 ÷ 5
$topic=mysql_escape_str...
hey there, i have a div that expands when the page is loaded, now i need it to collapse after 30 seconds, does anybody have an idea about how to do it in query?
$(function(){
$("#banner").slideDown();
});
...
I have this code;
$(this).children("a:eq(0)").append(
''
);
Now I want to remove last appened element (an image). Please give sugguestions;
...
Hi,
$.ajax({
method: "post"
, url: "save.php"
, data: "id=453&action=test"
, beforeSend: function(){
}
, complete: function(){
}
, success: function(html){
$("#mydiv").append(html);
}
});
I have set method type as post but in Save.php I just get values either in $_GET or $_REQ...
Okay, I know that 1) this is probably not possible with CSS alone and that 2) it really shouldn't be possible.
Unfortunately, I need to find a way to make it possible due to some requirements from the user.
Okay, so some greatly simplified markup:
<html>
<head>
</head>
<body>
<div><!--There's content in here --></div>
<div id="wrappe...