Main Topics
Browse All Topics I want to create a simple popup on my webapp using jquery mobile.
It needs to open some text within a <div> on the same page.
Any Pointers?
Hi Experts,
I am having some issues with an escape being outputted in my HTML.
I have tried a few things along the lines of preg_replace, str_replace, unescape, urldecode but I am not having any luck.
On the line below, I am output a list...
I'm building an application using sencha touch 1.1 in the client side and WCF REST services in the server side. I'm facing some problems when the sencha sore syncs data, the parameter sent to update method is always null. This is the c#...
Hi Experts,
Can you help me for HTA script for the below query:
dsquery * "CN=Sites,CN=Configuration
I am new to facebook development, and I downloaded the latest php-sdk and run, I got the below error displayed,
Can you advise how to fix this?
how to create UI Modal Dialog in Jquery
give me the link or Pseudo code to start my task
Hi,
I am trying to parse a JSON response from Foursquare API:.
The example is in this link:
https://developer.foursqua
It returns me the following:
{
meta: {
code:...
Hi
i have a jquery ui dialog that open with a table of data from the database.
i also have a link that open another UI dialog with a form to add an item.
right now, when i press the submit button of the form i refresh the whole page and ...
The following .htaccess code in removing .php extensions from webpages works in Internet Explorer, FireFox and Safari but not in Google Chrome. Why is that? Are there solutions or workarounds for this - here's the current .htaccess code that...
Hi there,
I need to silently and remotely install dotNetFx40_Full_x86_x64.ex
The following command line does not work.
PSEXEC \\RemotePC /i /u DomainName\Username /p password C:\Windows\System32\msiexe
Hi All
There was some penetrating tests that was conducted in our existing production java application, and one of the recommendation is to address cross site scripting.
I need inputs from experts on implementing this cross side without the...
Hi there,
In line 11, the data is extracted in a way that lines 14 and 15 does not work as expected.
Thanks for your help,
Rene
In a competition that is broken into multiple heats of up to 6 participants, where the top two competitors advance to the next round based on a scoring formula (below), we need an algorithm which calculates the 'score needed to advance' for the...
Points of My Scenario
1. I am admin of a Windows Server 2003 domain.
2. The domain has global, domain local and universal groups
3. I need to list all groups in the domain
QUESTION: How can I list all groups (of all types) in the domain with...
Experts,
I'm playing with a VBScript that's using the SAPI.SpVoice - and it's going fairly easily...
Except, sometimes the computer can be fairly long winded when it's reading one of my variables I'm feeding it.
Currently, the script is...
StingRaY was able to help me get this together but now the client wants this (imageCube) to start on page load. What do I need to change to get this to work?
Any help is much appreciated.
Hello,
I get this error ` syntax error near unexpected token `}' ` when running the script.
Script look like this shown below. Note: we commented the function so that it won't get called when we run the script, but don't know why we...
http://www.longequineservi
I am trying to auto sum my totals and then submit the data.
When the sum works, my submit button at the end does not,
what am I doing wrong???
Test page http://www.mistletoebay.co
My page was bug free until I added an accordion script that used var $j = jQuery.noConflict();
Since then I am receiving an Object expected error on line 34. The page still works fine...
The situation is that I have a form that pops up when I click on a row in a grid and I want to focus the cursor on the first input field in the form so the end user can start typing right away. This code be the check box or the 'Requisition...
Experts,
I've been playing at this for quite a while, but can't seem to get the expressions right...
I'm writing an EEM script that E-mails me whenever the pattern is matched that saves the running config to startup... The catch being, is...
I need a .bat script/cmd script to move all compressed (zipped) folders in all subfolders in a directory that are over 90 days old to a different directory. I'll have to run this monthly, so it will have to go by whatever the current calendar...
Experts,
We have a logon script built in VBScript, which works great.
I'd like to spruce it up a a bit, and feed the BannerMOTD variable to an hta object. It's a fairly large banner, so it's probably not going to be fun - but if anybody...
Hi All
Can someone please explain how to create simple Vb-script to copy files from a network drive to users application data folder.
for eg -
source file - \\server_name\templates\no
destination folder - c:\documents and...
I have an iFrame from which I launch a form in a new window. When this form submits, I want to refresh the opening iFrame's content.
I can successfully address the iFrame object from the form via window.opener, but can't seem to find a clean...
When i run:
This works flawlessly.
I need however to arrange the destination directory to receive the extracted files in a unique sub-directory.
Ideally i would arranged them based on characters 5 through 12 of the original zip file...
How can I require a batch to be called by another batch? In otherwords the batch will not work if executed by itself.
Hi
We use the following code in our logon script for mapping the user home drives.
If InStr(strGroup, lcase(grpMigration)) Then
objNet.MapNetworkDrive "H:", Datastore & "Home$\" & objNet.UserName
shellApp.NameSpace("H:\").
I have to create a set of batch files for various locations in our firm. The purpose of the batch files is to create a batch file that can be run to set system-level environment variables on systems.
Here is the CSV format:
...
Hi,
Scenario:
-We are using the following batch file which is configured with an AT task.
@echo off
cd C:\Program Files (x86)\JAM Software\TreeSize Professional\
TreeSize.exe /HTML "\\ss1\IS_Shared\Weekly Storage...
Hi,
I am preparing a script with Powershell.
I'd like to get the newest file name in a directory and assign the name to a string variable.
I've just written this one. I have a question:
dir C:\PREPARACION\logs | sort -prop...
Experts-
I would like to force screensaver to turn on after 15 mins of inactivity, and then after 4 hours of inactivity, log off the user. (We've been running into many instances where users have not logged off in weeks).
I have found...
Hi there, I'm wondering how to post a login form using cURL.
Basically when you access login page = index.php, it gives you PHP SESSION ID, then when you press login button, it passes that session ID to the login page. (without php session id,...
Hi,
Using jQuery I'm trying to filter a results set with several small groups of options (currently checkboxes), and have hit a wall. The intersection of checked box values among each group is the goal, not simply hiding/showing when a...
I have a need to delete a file called pluginreg.dat that is placed in a randomly named directory by Mozilla. It is located in the following location, where * is the randomly named directory.
...
Experts,
I have found several sites that suggest you can have more than one document.ready function.
I need to load a table using Ajax when a particular page opens. Here is the code:
---
$('#adm_output').ready(fun
{
...
All our computers have a group policy that enables allsigned.
I want to override this feature for my machine. Whats the best way to achieve this?
Thanks
Well, I thought this would be the easy part of this project. Turns out I was wrong.
I am writing a program that will determine line-of-sight between two prospective points for microwave radio reception.
If I know the coordinates of point "A"...
I am a newbie at writing any scripts and know just enough to get by. I wrote this code with help from a member here as well as Google and although it works I can guarantee that it is not done correctly. (I know myself) Could you please take a...
I need to be able to start a .exe file from batch script, but bring it to front of all the other open windows. How can I do this from inside the batch?
Hello,
i am using a slide deck script on my website:
I do not want the numbers to show at the bottom of the page. i looked at the script but as its displaying on one long line, i do not feel comfortable editing it.
Experts,
I have the following code that sucessfully grabs monitor resolutions... I can't find anywhere on the interwebs that shows how to filter this WMI query to only the primary display.
Would anybody happen to know of any...
Hi there,
I need to convert the following script that I think is VBScript, to a Batch File.
Thanks for your help,
Rene
SOURCE: http://codesnippts.blogspo
Hi
I would like to use 2 variables from a csv. and place them in a batch file
csv example:
var1, var2
192.168.0.10, port1
code example using variables
Cscript Prnport.vbs -a -s Server1 -r 'var2' -h 'var1' -o raw -n 9100
Thanks
Please see if you can help me with this code. It does not work. I am trying to read the coimputer numbers from the textbox and the name of the applications and then unistall them remotely. It works if I do it without using the gc text.txt.
...
Hi,
I am trying to work out how to write a powershell function that can enumerate all members of a PSObject and print the Member name and its value.
So if an object has 3 properties then I might see an output like the following:
...
Hello,
I had Network Solutions set up a 301 redirect only about 1 week ago because i did not have a web hosting package.
I had the 301 redirect point www.tekfix.net to www.tekfixteam.com
I want to remove the redirect, so www.tekfix.net does...
I have the requirement to update the telephone number property on 1500+ active directory user accounts, specifically the "telephoneNumber" attribute, and on some, additionally the "otherTelephone" attribute. I used CSVDE to pull all the users...
Hi
i have html like below. When the anchor tag is hovered i want to change the th background.
How can i target the th?
(There are several rows so i need to use $this rather than just using the id )
i tried $(this).prev("th") but no joy...
Hello Experts
I have a little Problem ...
I have to reload a PHP-Script per JQuery .load()
The PHP-Script includes a Button that triggers a JQuery .click() event.
The .click() Event reload the PHP-Script in a DIV ...
After reloading the...
Hi,
I have a Oracle 9i database, for which i have to export the full database
1) once a week
2) delete the files older than a certain date. (Ex:older than 30 days).
Does anyone have a batch file for this, which i can use it in the Task...
Hi there,
The FOR loop between lines 13 and 17 does not work. However, if I remove it from the FOR...%%A... loop, it works.
Could you please fix it?
And while at it, if you have ideas to improve my script, please share your wisdom.
...
Hey,
I'm trying to write a program to convert a 'mono' signal to a 'stereo' signal. I was just wondering what the simplest way to get this done was.
I was hoping to do it in Python, but I would be open to doing it in an other...
Here's the script: Here's the result: If I remove the pipe to the xargs (as shown in cmds #2), then the find works fine - why does the pipe to xargs mess up the find? Also, after searching the web, I found that eval sometimes helps - it did, but...
Hi,
I have two input box one for an email address
and one for username
the username input box should be the same as the email address input box.
how can I make when the user type in an email address in the email address box to get ...
I know I have seen this done on the web but cannot find it anywhere. I have a little product that I would like to sell on the web and I have the site done except for this little problem.
I design and print special labels about the size of a...
I have a script that is being passed a date variable as a string that looks like this
17/08/2012
I'd like to know how to add a day to this variable to produce the following outcome
18/08/2012
thanks
I would to create a powershell command to copy the folder, attributes, and hidden files. After copying the folder, attributes, and hidden files, next time the command run, it should only copy the new files, attributes, and hidden files for that...
Does jqGrid support frozen column headers and row headers? I have a grid with hundreds of rows and want the user to always see the columns name no matter what row they are on.
I'd like the same for row headers, since it will also be a wide...
Hey,
I'm trying to parse a few text files that range from a few KB to about 20 MB.
I've used ArrayLists before, but I switched to using LinkedLists, because I read here...
Hi,
Help!!
I'm trying to build a recordset that returns different results based upon session variables --
My Recordset looks like ---
<%
Dim SupplierNews
Dim SupplierNews_cmd
Dim SupplierNews_numRows
Set SupplierNews_cmd =...
Hi Folks
Here's one that has me stumped. Hope you can help.
I've tried setting up AWSTATS within Webmin but it's horrible and doesn't work correctly even though I following the examples as per. The config file is all over the place and when...
we recently migrated 500+ distribution groups using the ADMT tool, so the objects are "distribution groups" however none are mail enabled.
does anyone have a way in powershell [exchange 2010] to mail enable all of these groups [all reside in a...
My output in HTML5
Account Information
1. Select Location
2. Select Entry Point
but my Actual output is
Account Information
1. Select Location
2. Select Entry Point
i want to provide the initial space between...
Hello ~ A client's WordPress site has gone unresponsive (http://earthdaymarin.org/
Looking at most recent error log entries:
==========================
[19-Mar-2012...
Hi there,
Logged on as a domain admin, here is what i tried, but it does not work:
By the way:
-I have full access everywhere
-I can run "psexec \\RemoteSitePC CMD" and type a command
-When logged on RemoteSitePC, I can run:
XCOPY /Y...
I have a script that launches an application, then uses sendkeys to input into that application. I would ideally like to run this on mulitple servers, but without having to logon interactively, is there any way to do this ? It's on Windows 2003...
How would I create a command to run a process specific for a 32bit or 64 bit machine? For example I want to run a malwarebytes update command. Is there a way to merge these into one command without errors?
"%programfiles(x86)%\Malwa
Hi,
I have created a basic HTA VBScript which you type in a Computer Name and it's Pinged using WMI
I have an issue where depending on what name is entered it crashes
Examples of my issue
Type In following computer names:
PC12345 -...
Hi,
I have a button and an input type=file box. This uses some vb code to convert a picture so I can save it into a database image column. This all works fine. If I add an update panel around it with a asp:PostBackTrigger again it works fine...
Can I please get some help with this windows batch script? The goal is to check and see if a file over the web is there, not a local file computer. Be sure to include things like spacing, quotes...etc. I will accept vbs file if working code is...
I need to get a list of every file in a directory, 500,000 is the biggest directory.
I found the batch file I can run listed below. How would I modify it to show the last access date or the modify date? I don't mind running it twice I'm just...
Hello Experts,
The following script fails when it gets to the line 'crt.session.log True'. Its being used with an application called SecureCRT and its run on a number of tabs. Basically, the script will work fine on the first tab, but when it...
I have a VBScript that will open up a file with .ws file extension, look for text that shows a path name, and replace with new text. What I need to do is a search of the entire hard drive for any files with this file extention and make this same...
What do i want to do
Drag from 1 <li> copy it and drop it in a <ul> with some rules.
Exampel
Drag this:
<ul class="dragelem">
	<li class="drag-image" ><img src="any image" border="0" /></li>
	<li class="drag-image" ><img...
I use a jQuery Date Picker. It works fine in Chrome and Firefox.
https://www.bisparks.org/S
Unfortunately Microsoft's new IE security features will not permit it to be displayed without an error message under...
I have an code snippet where i want to use a hidden field insted of an radio buttom. I have tried to write input:hidden and then checked at the form field but that wont work. Anyone that know how to do it?
I need a WINDOWS BATCH SCRIPT to search the directory %userprofile% and its subdirectories for a file named example.exe, and then if that file is less than (example 256MB) in size, delete it. Otherwise leave it alone.
Please write the whole...
Hello,
Writing short MS DOS batch (.bat) file for Windows XP and need to test result of NET USE.
Here's the pseudo-code of what I'd like to do...
What bat code would accomplish this?
Thanks,
Jason
The following is a link to a page containing a jquery scroller http://gromit.utopia.co.nz
The code was taken from this website http://musca.se/full-windo
I am trying to...
I am very new to PowerShell and Tortoise SVN both , and need to accomplish the following via PowerShell.
I am working off a Windows 2008 server that has Tortoise SVN installed.
• The SVN repository has been checked out locally to a...
Hi,
my problem that I need advice for is this: I'm developing a web page as part of an e-learning system (see attached). What happens is that the user comes to this page and along each row makes their selection from the drop down boxes. Each...
Trying to group an array depending on whether it's index is divisible by there. I've tried various combinations of for loops and foreach loops and if($i % 3 == 0) ... But, it's not outputting the way I need it.
Here is a greatly simplified...
I am writing a function which supposed to add a row to the html table. The first 2 columns get added just fine , but the third column need to use the content that derived from ajax call.
var tblOption = "";
tblOption+='<tr>';
...
Hello,
I will include a SampleData and SampleOutput documents.
Can you make an Excel macro that takes the data from the SampleData sheet and creates a JSON string that matches the SampleOutput file.
***NOTE***
The SampleOutput only...
like that i have 20 apps
so now i am running each application using below command at command prompt manually:
wsadmin.bat -lang jython -f C:/opt/WAS/xxxx/deployment
I have the following code in my login script:
It is supposed to map drive G: but I am prompted for a username & password if I run the script manually. How can I embed the username & password for to access this drive inside the code I have...
I have a security audit coming up and I'm working on some tasks before they arrive. One thing they always seem to get us on is the locally cached credentials on our workstations. We've locked them down fairly well but its still possible they...
Hi there.
Data example:
I have an array with dates. Now I need a regex to loop through the html source and see if table contains any data with dates that are in the dates array within <tr> </tr>. If it does I need to place it into...
I need to get an image to refresh itself via JavaScript instead of reloading the page.
This code:
Works everywhere except for Safari, which I need it to work in.
What could I possible be doing wrong?
It loads the initial image but...
I have a problem with the imagecreatefrompng in my server i mean, the code works fine in my local server but when i upload it to my host i have a problem, i´ll explain, my code is:
##########################
if($type == "image/png") {
...
I need to create a batch file to delete subfolders and files that are contained in the Daily folder shown below.
Here is the path:
C:\Program Files (x86)\Avaya\IP Office\Voicemail Pro\VM\Back Up\Scheduled\Daily
Every night a folder...
The form doesn't submit.
The action does trigger when pressing enter on the keyboard.
I know which line of code needs to change, '$(this).closest("form").s
Just unsure of what it needs to change to.
It needs to be dynamic, so...
Hello,
I have a scripts that shows me all useraccounts that are member of an administrator group. When I ran it, it worked fine. I now have added an extra group: Exchange Organization Administrators but I get the error: There is no such object...
Hey all how can i set this up for a loop?
I cant seem to do it this way:
Any ideas would be great!
David
Hello Experts,
1. I have file "MSTEST.txt" containing a lot of number.
2. I use command: cat MSTEST.txt | awk '{print "ls -lrt | grep "$1}' | sh <== to get list of files, please see in "MYLIST.txt"
3. In "MYLIST.txt" look like:
-rw-r--r--...
Hello Experts,
I have a rather lengthy menu bar that is included on a template for every page of my website. I am trying to see if there is a way to cut down loading time by making the menu an external file and using php include(). Would it be...
I need to change the email address for everyone in my company from an old legacy underscore format to the dot format so: firstname_lastname@domain.
In order to do the above it means modifying 650...
I am trying to output text in unicode format, as regular text - that is beeing generated in this function:
Which is beeing called from a function like this:
But this only outputs the text in the unicode format. In this case...
Hello all,
I have this question about a jquery loop/find function. Say you have this set of div's
Each 'icon_select' has a background image. With the use of jquery each 'icon_select' has a click funtion where it changes its background...
mplungjan
145,789
Master
0 points yesterday
ProfileRay_Paseur
91,292
Master
0 points yesterday
Profilebillprew
63,376
Master
0 points yesterday
ProfileRobSampson
54,636
Master
0 points yesterday
ProfileDaveBaldwin
51,700
Master
2,000 points yesterday
Profilesedgwick
43,950
1,600 points yesterday
Profileleakim971
43,184
0 points yesterday
Profiledgofman
36,400
0 points yesterday
ProfileCOBOLdinosaur
28,424
0 points yesterday
Profilewoolmilkporc
24,200
0 points yesterday
Profileozo
20,600
0 points yesterday
ProfileQlemo
19,984
2,000 points yesterday
Profilechaituu
19,100
0 points yesterday
Profiletagit
19,000
0 points yesterday
Profilefarzanj
18,550
0 points yesterday
Profilenap0leon
15,094
0 points yesterday
Profilepaultomasi
14,700
0 points yesterday
ProfileStingRaY
13,136
0 points yesterday
Profilejason1178
13,044
0 points yesterday
ProfileHainKurt
12,350
0 points yesterday
ProfileHonorGod
11,600
0 points yesterday
Profileahoffmann
11,136
0 points yesterday
Profilebasicinstinct
10,800
0 points yesterday
Profileleew
10,030
0 points yesterday
ProfileChrisStanyon
9,864
0 points yesterday
Profile