15,121 Topics

Member Avatar for
Member Avatar for soft_coder

Hi! I have created a modal dialog using Jquery and I am opening an aspx page inside the modal dialog. The code is as follows: ASPX Page: [CODE]<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, …

Member Avatar for soft_coder
0
148
Member Avatar for Acute

In facebook or twitter time of post is changing every minute on every post. Any idea how to make it?

Member Avatar for steelshark
0
88
Member Avatar for newbie14

Dear All, I am planning to show dynamically the different wheels setup of vehicles for eg. 4 wheels, 6 wheels etc. Then I want to allow for instance the user to click the front tyre into a icon representing for instance repair, rethread etc. Any idea how make this realise? …

Member Avatar for newbie14
0
96
Member Avatar for tanoru

Hi I'm build a custom tab interface. When each tab is clicked a webpage is loaded into an iframe. There are multiple tabs so I've created multiple tab object that have a url parameter stored in them. However I want each tab to remember the last page that it was …

0
80
Member Avatar for EntangledDesi

I need to create a script that will validate all of the text boxes the user must fill out by ensuring that: 1. the user inputs doesn’t leave any boxes empty 2. the user inputs a valid zip code 3. the user inputs a valid a email address [CODE][color="Red"]<!-- Hide …

Member Avatar for foxytease07
0
151
Member Avatar for jonow

Hi, I have just downloaded the JavaScript HTML WYSIWYG editor TinyMCE. It works well except when I click on the link button or any other button that opens a window to add an element, nothing loads in the window. I have downloaded multiple up-to-date versions and non of them work. …

Member Avatar for Shanj
0
75
Member Avatar for schalkl

Hi Guys I have been all over the web searching for an answer. Hope someone can help me. I have a script with the following: $total_crt //total available credits (taken from mysql database using php) $credit // Display an ad credit. (also stored in mysql database using php) select dropdown …

Member Avatar for schalkl
0
159
Member Avatar for Adam_C

Hi, I'm new to this forum so sorry if this maybe in the wrong section for some reason. Basically, what I am trying to do is call several ajax requests using jQuery on the same page, i know that all browsers are capable of requesting multiple requests. However in Chrome …

Member Avatar for Adam_C
0
190
Member Avatar for localp

I need to know if you can add a javascript within [CODE]my_window.document.write( ); [/CODE] as [CODE]my_window.document.write( '<html><head><script type="text/javascript" src="http://somesite.com/xxy.js"></script></head></html>' ); [/CODE] When i add the code as shown above, it gets printed inthe parent window, how do i overcome this, if there's no way to overcome this, please suggest a …

Member Avatar for localp
0
1K
Member Avatar for azegurb

hi all i have taken from internet a script that adds and removes rows but i made a little changes to that script that is renumbering rows after deleting. but one problem arises. i can delete all rows by selecting at once except firts row. for ex. i have added …

Member Avatar for Airshow
0
134
Member Avatar for irandokht

Hi dears, i want to change width of tinyMCE editor but it doesn't changed and back to orginal state,i do either two follow step : tinyMCE.init({ mode: "textareas", theme: "advanced", width: "200", height:"200", ........ or <asp:TextBox ID="RichTextBox" runat="server" TextMode = "MultiLine" Width="300px" Height="200px" ></asp:TextBox> what's your suggestion for edit width? …

0
61
Member Avatar for bjeffries

I have this email newsletter field that works. I just dont want the person to be directed away from the page they are on when they submit the form. Is there a way to process the form then have a window pop-up saying: Thank you for submitting $email! My HTML …

Member Avatar for bjeffries
0
323
Member Avatar for public-image

<script> function close(){ window.open('alert_update.php?id=<? echo"$alertm[id]"; ?>','alert'); document.getElementById("alert").style.display="none"; } </script> The above script is what I am using to send a request as such to alert_update (the file that updates the database which is a small iframe 1px by 1px; but I also need it to onclick hide the div that …

Member Avatar for Airshow
0
156
Member Avatar for public-image

Okay so I was having a problem earlier where I could not get my DIV to hide using my script I used some source from google and got the following, I found it to be effective and do the job, however I want it so that when I click my …

Member Avatar for Airshow
0
98
Member Avatar for raul8

I'm having trouble with nodeValue property. No matter what..it gives me value null. All other propeties are executing fine. XML file: [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <details> <player> <name>MSchu</name> <poles>91</poles> </player> <player> <name>Alonso</name> <poles>25</poles> </player> </details>[/CODE] And I'm running this code: [CODE]<html> <head> <script> function loadXMLDoc(){ if (window.XMLHttpRequest){ xhttp=new XMLHttpRequest(); } else{ …

Member Avatar for Airshow
0
238
Member Avatar for ello

Hey guys I'm having a little bit of an issue with this code, the code simply detects a page refresh, works fine in IE and FF, but it doesn't seem to be working in opera. Anyone got any suggestions on how to fix this? I've had an issue like this …

Member Avatar for ello
0
128
Member Avatar for doctorphp

Hi everyone. I am starting to learn AJAX and JavaScript and I am trying to make a popup login form and I am having trouble posting the data entered in the textboxes. It is fine when I post one piece of data but when I try to post two I …

Member Avatar for hielo
0
2K
Member Avatar for public-image

I am using a DIV to load pages that must be refreshed every so often however due to the delay in each load, it takes that amount of time to load the first preview. So what I want to do is while the page loads it up is there a …

Member Avatar for public-image
0
103
Member Avatar for waniejjang

Hi all, I have a problem with javascript function. I already do a dynamic dropdown menu where user have to select a company name at dropdown. And after select the company name, an email address will appear in textbox. The company table consists of Id, comp_name, email_add fields. But I …

Member Avatar for waniejjang
0
2K
Member Avatar for f_atencia

Say I have an XML file as such: <contacts> <contact id="1"> <name>Steven</name> <address>Here</address> <phone>11111111</phone> </contact> <contact id="2"> <name>John</name> <address>There</address> <phone>22222222</phone> </contact> </contacts> ...etc. How can I transform that to HTML with XSLT so that it can be a collapsable/expandable tree? For example, If I click a button that shows contact{@id="1"] …

0
90
Member Avatar for fantasma

I there everyone. I've been wondering if someone could help to glue up my broken head with this one. I've got some "labels" which show up, dynamicaly, the data coming from mySql through PHP. In those labels I've got 4 buttons for uploading an image, deleting the respective entry, editing …

Member Avatar for fantasma
0
191
Member Avatar for reagansmall

Hello - Okay...I have another confusing question (warning...newbie here!). I added some javascript to my main template page that makes my side navigation bar expandable. I had a folder of preexisting pages created from this template that the Dreamwever updated when I saved the main template. I want to make …

Member Avatar for maba001
0
151
Member Avatar for localp

There is textbox, and 2 buttons in a web page. when the user clicks one of the button, the character 'A', should get printed on the textbox. and when the user clicks on the other button, 'B', should get printed on the textbox in the format 'AB'. I was looking …

Member Avatar for localp
0
304
Member Avatar for reco21

Hello, I'm wondering how to add predefined text to many input fields on click of an image. so I have 4 images and I click one and 4 fields are filled with predefined text. If I click another the text is changed with some other predefined text. Thanks

Member Avatar for reco21
0
136
Member Avatar for cmills83

Has anyone had success changing a users print settings to landscape when printing a specific page using either CSS or JS? I see a lot of the same solutions repeated when searching but none seem to work so please only post something if you have had cross-browser success and can …

Member Avatar for codewall
0
62
Member Avatar for Xavier33x

Hey, Ive been working a site for my church and it looks fine on my screen but when i use my other laptop which has a bigger screen i find that i have white space on the right edge and on the bottom. My background picture was done in photoshop …

Member Avatar for Xavier33x
0
210
Member Avatar for murtazamzk

[CODE]<html> <body> <script language="JavaScript1.2"> //change 1 to another value to alter the scroll speed. Greater is faster var speed=1 var currentpos=0,alt=1,curpos1=0,curpos2=-1 function initialize(){ startit() } function scrollwindow(){ if (document.all) temp=document.body.scrollTop else temp=window.pageYOffset if (alt==0) alt=1 else alt=0 if (alt==0) curpos1=temp else curpos2=temp if (curpos1!=curpos2){ if (document.all) currentpos=document.body.scrollTop+speed else currentpos=window.pageYOffset+speed window.scroll(0,currentpos) …

Member Avatar for codewall
0
266
Member Avatar for pradeesh.login

how the answers are evaluated in an online examination system??? any one answer my question briefly

Member Avatar for codewall
0
57
Member Avatar for JPByD

I have a C# website that includes AJAX. The site has a master page and sub pages. I am revamping the photo gallery sub page to include a jquery function that displays a larger version of a thumbnail image when hovered. The thumbnails are listed in a xaml file, at …

Member Avatar for JPByD
0
251
Member Avatar for localp

I have a web page named A.html, and this web page contains a text box called 'text1', and a button. When a user clicks the button, a pop up window appears, the name of this pop up window is B.html. B.html has a text box, and its called 'text2', and …

Member Avatar for localp
0
125

The End.