I am trying to create a custom pop-up box for my website that would look something like i currently have for the "contact me" tab when selected. I would like something that I could easily change the content in. I would also like for it to automatically load only once per visitor per week. If you have any suggestions they would that wo...
I'm trying to find a tool that generates HTML documentation for my Javascript source code.
Does anyone know if the tool that Google uses to generate the interface at the following URLs is open source? Would I be able to generate similar output?
http://closure-library.googlecode.com/svn/docs/class_goog_proto2_Serializer.html
http://c...
I have a scenario like below:
I navigate to the reader page with the below form data
<form id="mainForm" action="Reader.aspx" method="post">
<input type="hidden" id="bookId" name="bookId" />
<input type="hidden" id="startPageId" name="startPageId" />
</form>
Initially the hidden variable values will be bookId=1 and st...
I am going to display the current password of the user like
Current Password : ******
I want the exact number of asterisk's(*), as the number of the password characters. Also it should be safe that it should not visible at View-Source. Plz Help, any jquery plugin available?, or can we achieve it through javascript
...
I have a ScriptService web method (.NET 3.5) which takes a single parameter of an abstract base type:
[WebMethod(EnableSession=true)]
[ScriptMethod()]
public bool Test(Item item) { ... }
And:
namespace Namespace {
public abstract class Item
{
public int id;
}
public class Group : Item
{
public Item[] items;
}
public class I...
In Java, we work a lot with JAXB2. Object<->XML mappings are defined as annotations in Java classes:
@XmlRootElement(name="usertask", namespace="urn:test")
public class UserTask
{
@XmlElement(namespace="urn:test")
public String getAssignee() { ... }
public void setAssignee(String assignee) { ... }
}
JAXB runtime can read ...
hi all,
I have found so many questions on converting xml to json and vice versa.
I am trying to convert xml into json using jquery and javascript.
Can somebody tell me some guidelines for converting xml into json?
...
Hello,
I'd like to align text vertically, but some browsers (WebKit: Safari, Chome) fill svg object white background, if it is over the image.
I think this can be done using jQuery without any SVG and so on.
full example: here
<style type="text/css"">
.block {
cursor: default;
float: left;
overflow: hidden;
width: 1...
I'm using V3 of the Google maps javascript api to bring in more markers as the map bounds are changed. The problem is that when I drag the map around for a while and then end dragging a flood of events are triggered at once. They appear to be queueing up while the map is being dragged.
Is there some way I can add a timer to stop this or...
Hi there,
I have a select element having values 10,25,50,100. Onclick of each i have to call a function .
So can you tell me how can I access the value of a select element when clicked or selected and pressed enter.
Here is my code for select element:
<select name='rows'>
<option name = 'ten' value='10'>10</option>
<option ...
I have Parent page and a Child page('empW.cfm'),which is nothing but a popup window on one of the form fields on Parent page. I am using <cfform> in the Parent page. I want to populate the data from this Child-page-popup-window, to that related form field in Parent -page.
Tried all means but no success till now.
Parent page:-
<script t...
Hi everybody
anybody plz the information of do postback details.
...
Hi,
I'm working on a jquery slider/carousel to rotate between a couple of promotions.
What I'm looking for is a way to show the remaining time until the next promotion slides in. Exactly as the flash promo at: http://www.nordicbet.com
Any ideas?
...
I have this interesting jQuery function. It basically adds a click handler to link, and when that is clicked, it will load a form to allow the user to edit the content. and the form is submitted by AJAX, and will display a success message when it's done.
The outline is below; needless to say, this is messy. I could have each of the cal...
I need a script that shows replay on the top right or left corners just like in many ads.I googled it but didnt find anything useful. What i have is a set of images that run in a slide show kinds just like online ad's and when the ad ends "Replay" should appear on the top which on click runs the ad again.Pleae help !!
EDIT: iam using sw...
Here's my problem I have this javascript
if (exchRate != "") {
function roundthecon() {
var value = Math.round(exchRate*Math.pow(10,2)) / Math.pow(10,2);
$('.tablenotes > p > strong ').append(value);
}
function addCommas(nStr) {
nStr += '';
x = nStr.split('.');
x1 = x[0];
x2 = x.length > 1 ? '.' + x[1] : '';
var rgx = /(\d+)(\d{3})/;
...
We use MOSS 2007, and I have a document library with several document templates in it. When someone clicks the document template (for example .dotx), the templates is opened. But I want it working so that a new document is opened based on the template.
I can do this with the New button in the toolbar above the list, but I do not like th...
I use sIEve to find out why memory usage grows.
"inUse" columns has no big changes.
Why does memory usage grow?
What can affect the growth of memory usage than the number of DOM elements?
Thank you!
...
I declare a variable which gets it's value through another event out of a select-box. Since there are different events which change the variable (lets name it z), I want to get informed when the variable gets changed.
So my question is: What is the best way to get informed when a variable gets changed?
z.change(function(){}); throws an ...
I get an error on String(u).indexOf() saying access denied http to https... so I'm thinking this doesn't work. But maybe i'm missing something.
This is on the same domain, just a different protocol.
function process_form(f){
var l = $("iframe#loginFrame");
if(l.length==0){
f.attr("target","loginFrame"); ...